Unverified Commit f3793175 by Stéphane Graber Committed by GitHub

Merge pull request #2166 from brauner/2018-02-15/fix_cgfsng_chown

cgroups: use correct mask for chmod()
parents 80c1390d 63e42fee
...@@ -1833,7 +1833,7 @@ static int chown_cgroup_wrapper(void *data) ...@@ -1833,7 +1833,7 @@ static int chown_cgroup_wrapper(void *data)
char *fullpath; char *fullpath;
char *path = hierarchies[i]->fullcgpath; char *path = hierarchies[i]->fullcgpath;
ret = chowmod(path, destuid, nsgid, 0755); ret = chowmod(path, destuid, nsgid, 0775);
if (ret < 0) if (ret < 0)
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment