From: Christian Brauner Date: Wed, 14 Feb 2018 23:28:42 +0000 (+0100) Subject: cgroups: use correct mask for chmod() X-Git-Tag: lxc-2.0.10~330 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6af4c1323612f107988167c4c56201e16a4d843c;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 63fb33fa2..380fb22f5 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -1813,7 +1813,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;