mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
tmpfiles: also set acls on /var/log/journal
This way, directories created later for containers or for journald-remote, will be readable by adm & wheel groups by default, similarly to /var/log/journal/%m itself. https://github.com/systemd/systemd/issues/1971
This commit is contained in:
parent
6debb39826
commit
57d5b3130c
@ -34,6 +34,8 @@ A+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
|
||||
z /var/log/journal 2755 root systemd-journal - -
|
||||
z /var/log/journal/%m 2755 root systemd-journal - -
|
||||
m4_ifdef(`HAVE_ACL',``
|
||||
a+ /var/log/journal - - - - d:group:adm:r-x,d:group:wheel:r-x
|
||||
a+ /var/log/journal - - - - group:adm:r-x,group:wheel:r-x
|
||||
a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x
|
||||
a+ /var/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x
|
||||
'')m4_dnl
|
||||
|
Loading…
Reference in New Issue
Block a user