mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Fix /run/keys permissions
This commit is contained in:
parent
6bfb25b9e8
commit
57ed344917
@ -121,9 +121,10 @@ fi
|
||||
# written to disk (generally used for NixOps, harmless elsewhere).
|
||||
if ! mountpoint -q /run/keys; then
|
||||
rm -rf /run/keys
|
||||
mkdir -m 0750 /run/keys
|
||||
chown 0:96 /run/keys
|
||||
mkdir /run/keys
|
||||
mount -t ramfs none /run/keys
|
||||
chown 0:96 /run/keys
|
||||
chmod 0750 /run/keys
|
||||
fi
|
||||
|
||||
mkdir -m 0755 -p /run/lock
|
||||
|
Loading…
Reference in New Issue
Block a user