]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix capability name in man:systemd-tmpfiles(8) (#8139)
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Fri, 9 Feb 2018 02:05:49 +0000 (03:05 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2018 02:05:49 +0000 (11:05 +0900)
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.

man/systemd-tmpfiles.xml

index 85cb89dc468aaf48f0edbfd44de444bd801a87b0..a6ae5e4f9793ce2ed5131e9742f1387f148dd3a3 100644 (file)
 
     <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.