Commit 2c7e2a3e by Tomáš Peterka

Group writeable cgroup task file

1 parent 2d942896
......@@ -523,6 +523,7 @@ class Computer(object):
with open(cpu_path + "/cpuset.cpu_exclusive", "wt") as fx:
fx.write("1") # manages it exclusively
os.chown(cpu_path + "/tasks", -1, self.software_gid)
os.chmod(cpu_path + "/tasks", 0o664)
def prepare_cgroup(self):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!