diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-18 15:40:21 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-18 15:40:21 +0100 |
commit | 8d53b4534a5923721b5f1e9dd7e8f4a903d02d51 (patch) | |
tree | 7b0a03a93fc3aa706676713e8062bdbb6dc4ad2d /src/login/logind-session.c | |
parent | 62f21ec91ad8e7e24079962f4df066b0094fe68d (diff) |
exec: introduce ControlGroupPersistant= to make cgroups persistant
Diffstat (limited to 'src/login/logind-session.c')
-rw-r--r-- | src/login/logind-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session.c b/src/login/logind-session.c index bb802e5fc2..5ea7e260a7 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -434,7 +434,7 @@ static int session_create_one_group(Session *s, const char *controller, const ch if (r < 0) return r; - r = cg_set_task_access(controller, path, 0644, s->user->uid, s->user->gid); + r = cg_set_task_access(controller, path, 0644, s->user->uid, s->user->gid, -1); if (r >= 0) r = cg_set_group_access(controller, path, 0755, s->user->uid, s->user->gid); |