]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/lxc_copy.c
Fix mode when creating temporary directory
authorChristian Brauner <christianvanbrauner@gmail.com>
Mon, 9 Nov 2015 20:47:28 +0000 (21:47 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 17 Nov 2015 16:35:46 +0000 (11:35 -0500)
commitb84e8c4bb2a63936f0eae0ab5f9a9ff39a79d8dc
tree49379cb256faf8f1ed00b60d437971aae88acd85
parentdca0532e37e44d1703b9fc80975d45dcffb0c27d
Fix mode when creating temporary directory

When we create a random container directory with mkdtemp() we set the mode to
0770 otherwise do_lxcapi_clone() will complain about not being able to create
the config.

Signed-off-by: Christian Brauner <christianvanbrauner@gmail.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_copy.c