The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2166

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From 63e42fee6e522a90a5753357e109d79e29d19fb9 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Thu, 15 Feb 2018 00:28:42 +0100
Subject: [PATCH] cgroups: use correct mask for chmod()

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 src/lxc/cgroups/cgfsng.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to