Fix #19382 set ownership of /var/empty to root:root
This commit is contained in:
parent
4168706d4f
commit
4ed85933db
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ in
|
|||
${pkgs.e2fsprogs}/bin/chattr -f -i /var/empty || true
|
||||
find /var/empty -mindepth 1 -delete
|
||||
chmod 0555 /var/empty
|
||||
chown root:root /var/empty
|
||||
${pkgs.e2fsprogs}/bin/chattr -f +i /var/empty || true
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue