selinux: create /run/user/${USERID}/systemd with default context

This commit is contained in:
Christian Göttsche 2020-09-05 17:42:56 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 1006038cf1
commit e813a74ae8
1 changed files with 1 additions and 1 deletions

View File

@ -2087,7 +2087,7 @@ static int initialize_runtime(
return log_emergency_errno(r, "Failed to determine $XDG_RUNTIME_DIR path: %m");
}
(void) mkdir_p(p, 0755);
(void) mkdir_p_label(p, 0755);
(void) make_inaccessible_nodes(p, UID_INVALID, GID_INVALID);
}