1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +03:00

man: fix capability name in man:systemd-tmpfiles(8) (#8139)

CAP_ADMIN does not exist (the closest existing capability name would be
CAP_SYS_ADMIN), and according to man:open(2) and man:capabilities(7),
the capability required to specify O_NOATIME is actually CAP_FOWNER.

(cherry picked from commit 3c84514d07)
(cherry picked from commit 7b1f895b21)
This commit is contained in:
Lucas Werkmeister 2018-02-09 03:05:49 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 7ab1c7435a
commit 6e26a9c6a9

View File

@ -175,7 +175,7 @@
<para><command>systemd-tmpfiles</command> tries to avoid changing
the access and modification times on the directories it accesses,
which requires <constant>CAP_ADMIN</constant> privileges. When
which requires <constant>CAP_FOWNER</constant> privileges. When
running as non-root, directories which are checked for files to
clean up will have their access time bumped, which might prevent
their cleanup.