From 6535b2b0e3e71b7b7e1e2d90feaf5b92ee3a6f7a Mon Sep 17 00:00:00 2001 From: fbt Date: Wed, 14 Sep 2016 08:46:07 +0300 Subject: [PATCH] add a rundir for root Signed-off-by: fbt --- rc.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc.in b/rc.in index 0e1668e..afbc0cf 100644 --- a/rc.in +++ b/rc.in @@ -185,6 +185,8 @@ rc.main() { # Default XDG_RUNTIME_DIR for all non-system users # rtkit:x:133:133:RealtimeKit:/proc:/sbin/nologin + # Also add one for root + cfg_tmpdirs+=( "/run/user/0:700:0:0" ) while IFS=':' read -r _ _ uid gid _; do if (( uid >= 1000 )); then cfg_tmpdirs+=( "/run/user/$uid:700:$uid:$gid" )