cgroups: use correct mask for chmod()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-02-15 00:28:42 +01:00
parent 80c1390dff
commit 63e42fee6e
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -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;