From: Lennart Poettering Date: Wed, 24 Jul 2019 07:59:38 +0000 (+0200) Subject: man: highlight the different concepts behind h/H and t/T X-Git-Tag: v243-rc1~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3d3a9ca0734c298cc3bf08f8c4907dd19ee9939;p=thirdparty%2Fsystemd.git man: highlight the different concepts behind h/H and t/T Fixes: #13151 --- diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index f097045b7bb..dce05c364fe 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -380,63 +380,64 @@ L /tmp/foobar - - - - /dev/null t - Set extended attributes. Lines of this type - accept shell-style globs in place of normal path names. - This can be useful for setting SMACK labels. Does not follow - symlinks. + Set extended attributes, see attr + 5 for details. The argument field should take one or more + assignment expressions in the form + namespace.attribute=value, + for examples see below. Lines of this type accept shell-style globs in place of normal path + names. This can be useful for setting SMACK labels. Does not follow symlinks. + + Please note that extended attributes settable with this line type are a different concept + from the Linux file attributes settable with h/H, see + below. T - Recursively set extended attributes. Lines - of this type accept shell-style globs in place of normal - path names. This can be useful for setting SMACK - labels. Does not follow symlinks. + Same as t, but operates recursively. h - Set file/directory attributes. Lines of this type - accept shell-style globs in place of normal path names. + Set Linux file/directory attributes. Lines of this type accept shell-style globs in + place of normal path names. - The format of the argument field is [+-=][aAcCdDeijPsStTu] . The prefix + The format of the argument field is [+-=][aAcCdDeijPsStTu]. The prefix + (the default one) causes the attribute(s) to be added; - causes the attribute(s) to be removed; = causes the attributes to be set exactly as the following letters. The letters aAcCdDeijPsStTu select the new attributes for the files, see chattr 1 for further information. - Passing only = as argument resets - all the file attributes listed above. It has to be pointed - out that the = prefix limits itself to - the attributes corresponding to the letters listed here. All - other attributes will be left untouched. Does not follow - symlinks. - + + Passing only = as argument resets all the file attributes listed above. It + has to be pointed out that the = prefix limits itself to the attributes + corresponding to the letters listed here. All other attributes will be left untouched. Does not + follow symlinks. + + Please note that the Linux file attributes settable with this line type are a different + concept from the extended attributes settable with t/T, + see above. H - Recursively set file/directory attributes. Lines - of this type accept shell-style globs in place of normal - path names. Does not follow symlinks. - + Sames as h, but operates recursively. a a+ - Set POSIX ACLs (access control lists). If - suffixed with +, the specified entries will - be added to the existing set. - systemd-tmpfiles will automatically add - the required base entries for user and group based on the - access mode of the file, unless base entries already exist - or are explicitly specified. The mask will be added if not - specified explicitly or already present. Lines of this type - accept shell-style globs in place of normal path names. This - can be useful for allowing additional access to certain - files. Does not follow symlinks. + Set POSIX ACLs (access control lists), see acl + 5. If suffixed with +, the specified + entries will be added to the existing set. systemd-tmpfiles will automatically + add the required base entries for user and group based on the access mode of the file, unless base + entries already exist or are explicitly specified. The mask will be added if not specified + explicitly or already present. Lines of this type accept shell-style globs in place of normal path + names. This can be useful for allowing additional access to certain files. Does not follow + symlinks.