mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
tmpfiles.d/systemd: use ACL 'X' bit where appropriate
This commit is contained in:
parent
29a438e764
commit
22549ff473
@ -26,16 +26,13 @@ Z /run/log/journal/%m ~2750 root systemd-journal - -
|
||||
{% if HAVE_ACL %}
|
||||
{% if ENABLE_ADM_GROUP and ENABLE_WHEEL_GROUP %}
|
||||
a+ /run/log/journal - - - - d:group::r-x,d:group:adm:r-x,d:group:wheel:r-x,group::r-x,group:adm:r-x,group:wheel:r-x
|
||||
a+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-x,group:wheel:r-x
|
||||
a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--,group:wheel:r--
|
||||
A+ /run/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x,group:adm:r-X,group:wheel:r-X
|
||||
{% elif ENABLE_ADM_GROUP %}
|
||||
a+ /run/log/journal - - - - d:group::r-x,d:group:adm:r-x,group::r-x,group:adm:r-x
|
||||
a+ /run/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-x
|
||||
a+ /run/log/journal/%m/*.journal* - - - - group:adm:r--
|
||||
A+ /run/log/journal/%m - - - - d:group:adm:r-x,group:adm:r-X
|
||||
{% elif ENABLE_WHEEL_GROUP %}
|
||||
a+ /run/log/journal - - - - d:group::r-x,d:group:wheel:r-x,group::r-x,group:wheel:r-x
|
||||
a+ /run/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-x
|
||||
a+ /run/log/journal/%m/*.journal* - - - - group:wheel:r--
|
||||
A+ /run/log/journal/%m - - - - d:group:wheel:r-x,group:wheel:r-X
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user