X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Ftmpfiles.d.xml;h=839bb7604b3e41b9b04696b7f430f9317671ea59;hp=957910dd6dbdf9232c45a386013f2aba9d87669c;hb=fa3f5fd2d3aebc468c4df216eca18a289aaa7e16;hpb=50d9e46dbb8400d4570781728c63b151d9ca982b;ds=sidebyside
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
index 957910dd6..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
@@ -302,20 +304,55 @@
+
+ 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
a+
Set POSIX ACLs (access control lists). If
- suffixed with +, specified mask will be
- added to existing
- entries. systemd-tmpfiles does not
- automatically add the required base entries for user and
- group to the specified mask, so they must be specified
- explicitly if + is not used. The
- mask will be added if not specified explicitly.
- 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.
+ 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.
@@ -443,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
@@ -528,7 +564,8 @@
getfattr1,
setfattr1,
setfacl1,
- getfacl1
+ getfacl1,
+ chattr1