Re: [lxc-devel] [PATCH 2/8] lxc-create: support unpriv users

2013-07-21 Thread Stéphane Graber
On Fri, Jul 19, 2013 at 02:26:49PM +, Serge Hallyn wrote: > From: Serge Hallyn > > Just make sure we are root if we are asked to deal with something other > than a directory, and make sure we have permission to create the > container in the given lxcpath. > > The templates will need much mor

[lxc-devel] [PATCH 2/8] lxc-create: support unpriv users

2013-07-19 Thread Serge Hallyn
From: Serge Hallyn Just make sure we are root if we are asked to deal with something other than a directory, and make sure we have permission to create the container in the given lxcpath. The templates will need much more work. Signed-off-by: Serge Hallyn --- src/lxc/lxc_create.c | 19 +++

[lxc-devel] [PATCH 2/8] lxc-create: support unpriv users

2013-07-19 Thread serge . hallyn
From: Serge Hallyn Just make sure we are root if we are asked to deal with something other than a directory, and make sure we have permission to create the container in the given lxcpath. The templates will need much more work. Signed-off-by: Serge Hallyn --- src/lxc/lxc_create.c | 19 +++