From: Christian Brauner Date: Wed, 14 Feb 2018 23:28:42 +0000 (+0100) Subject: cgroups: use correct mask for chmod() X-Git-Tag: lxc-3.0.0.beta1~28^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2166%2Fhead;p=thirdparty%2Flxc.git cgroups: use correct mask for chmod() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 3a9c20011..826ea600b 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -1833,7 +1833,7 @@ static int chown_cgroup_wrapper(void *data) char *fullpath; char *path = hierarchies[i]->fullcgpath; - ret = chowmod(path, destuid, nsgid, 0755); + ret = chowmod(path, destuid, nsgid, 0775); if (ret < 0) return -1;