Commit 7f9171e5 by Tycho Andersen Committed by Stéphane Graber

cgmanager: don't make tasks + cgroup.procs +x

No reason for these to be +x, and it looks weird. Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 81e3c9cf
...@@ -501,9 +501,9 @@ static bool chown_cgroup(const char *cgroup_path, struct lxc_conf *conf) ...@@ -501,9 +501,9 @@ static bool chown_cgroup(const char *cgroup_path, struct lxc_conf *conf)
for (i = 0; slist[i]; i++) { for (i = 0; slist[i]; i++) {
if (!lxc_cgmanager_chmod(slist[i], cgroup_path, "", 0775)) if (!lxc_cgmanager_chmod(slist[i], cgroup_path, "", 0775))
return false; return false;
if (!lxc_cgmanager_chmod(slist[i], cgroup_path, "tasks", 0775)) if (!lxc_cgmanager_chmod(slist[i], cgroup_path, "tasks", 0664))
return false; return false;
if (!lxc_cgmanager_chmod(slist[i], cgroup_path, "cgroup.procs", 0775)) if (!lxc_cgmanager_chmod(slist[i], cgroup_path, "cgroup.procs", 0664))
return false; return false;
} }
......
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