summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2018-02-09 03:05:49 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-02-09 11:05:49 +0900
commit3c84514d07ff2aec5767f8fd23c5fcfb6c2dd45d (patch)
treea2f51bea9ad627e3af0f5aabe388150d4ff3ad4d
parent992149c07e3ecfbfe4067641e92a6923e7aacda4 (diff)
downloadsystemd-3c84514d07ff2aec5767f8fd23c5fcfb6c2dd45d.tar.gz
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.
-rw-r--r--man/systemd-tmpfiles.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml
index 85cb89dc46..a6ae5e4f97 100644
--- a/man/systemd-tmpfiles.xml
+++ b/man/systemd-tmpfiles.xml
@@ -215,7 +215,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.