mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
munge: fix module munge.key permissions from 0700 -> 0400 readonly
This commit is contained in:
parent
72f324dbc7
commit
5a5def3753
|
@ -50,7 +50,7 @@ in
|
|||
path = [ pkgs.munge pkgs.coreutils ];
|
||||
|
||||
preStart = ''
|
||||
chmod 0700 ${cfg.password}
|
||||
chmod 0400 ${cfg.password}
|
||||
mkdir -p /var/lib/munge -m 0711
|
||||
chown -R munge:munge /var/lib/munge
|
||||
mkdir -p /run/munge -m 0755
|
||||
|
|
Loading…
Reference in a new issue