X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=man%2Ftmpfiles.d.xml;h=839bb7604b3e41b9b04696b7f430f9317671ea59;hb=fa3f5fd2d3aebc468c4df216eca18a289aaa7e16;hp=7c1ef42c203da1fdfcfdbc281fe8406888f945e7;hpb=f8eeeaf9b783ebbab30672629abf3920db286811;p=elogind.git diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 7c1ef42c2..839bb7604 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -118,6 +118,8 @@ d /run/user 0755 root root 10d - L /tmp/foobar - - - - /dev/null + Fields may be enclosed within quotes and contain C-style escapes. + Type @@ -234,7 +236,7 @@ to exclude paths from clean-up as controlled with the Age parameter. Note that lines of this type do not influence the effect of r or R - lines. Lines of this type accept shell-style globs in place + lines. Lines of this type accept shell-style globs in place of normal path names. @@ -246,7 +248,7 @@ not exclude the content if path is a directory, but only directory itself. Note that lines of this type do not influence the effect of r or - R lines. Lines of this type accept + R lines. Lines of this type accept shell-style globs in place of normal path names. @@ -273,7 +275,7 @@ Adjust the access mode, group and user, and restore the SELinux security context of a file or directory, if it exists. Lines of this type accept shell-style globs in - place of normal path names. + place of normal path names. @@ -288,16 +290,76 @@ t - Set extended attributes on the specified - path. This can be useful for setting SMACK labels. + 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. + + + + + 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. + + + + + h + Set file/directory attributes. Lines of this type + accept shell-style globs in place of normal path names. + + The format of the argument field is [+-=][aAcCdDeijsStTu] + + + The prefix + (the default one) causes the + attribute(s) to be added; - causes the + attribute(s) to be removed; = + causes the attributes to set exactly as the following letters. + The letters aAcCdDeijsStTu 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. + + + + + + + H + Recursively set file/directory attributes. Lines + of this type accept shell-style globs in place of normal + path names. a - Set POSIX ACLs (access control lists) on the - specified path. This can be useful for allowing aditional - access to certain files. + a+ + Set POSIX ACLs (access control lists). If + suffixed with +, 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 explictly 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. + + + + A + A+ + Same as a and + a+, but recursive. @@ -418,23 +480,22 @@ delete when cleaning. If a file or directory is older than the current time minus the age field, it is deleted. The field format is a series of integers each followed by one of the - following postfixes for the respective time units: - - - - s - min - h - d - w - ms - m - us - + following postfixes for the respective time units: + s, + m or min, + h, + d, + w, + ms, + us, + respectively meaning seconds, minutes, hours, days, weeks, + milliseconds, and microseconds. Full names of the time units can + be used too. + If multiple integers and units are specified, the time - values are summed up. If an integer is given without a unit, - s is assumed. + values are summed. If an integer is given without a unit, + s is assumed. When the age is set to zero, the files are cleaned @@ -503,7 +564,8 @@ getfattr1, setfattr1, setfacl1, - getfacl1 + getfacl1, + chattr1