Don't barf if /var/log doesn't support ACLs
http://hydra.nixos.org/build/13462892
This commit is contained in:
parent
c3c9e2d9bc
commit
7c4591d010
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ in
|
|||
# Make all journals readable to users in the wheel and adm
|
||||
# groups, in addition to those in the systemd-journal group.
|
||||
# Users can always read their own journals.
|
||||
${pkgs.acl}/bin/setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal
|
||||
${pkgs.acl}/bin/setfacl -nm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal || true
|
||||
'';
|
||||
|
||||
# Target for ‘charon send-keys’ to hook into.
|
||||
|
|
Loading…
Reference in a new issue