diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-09-17 16:33:30 -0500 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-09-17 16:55:37 -0500 |
commit | 265ffa1e05acf12769a64d0734fd2472237c03c5 (patch) | |
tree | ea309816bc60faec7e5e387cca6c33fe5a095ad8 /man | |
parent | d8a110034690bbe50e15455be4427c42dcd59dc6 (diff) |
tmpfiles: add a new "m" line type that adjusts user/group/mode of a file if it exists
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-tmpfiles.xml | 2 | ||||
-rw-r--r-- | man/tmpfiles.d.xml | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index 281ab3ca25..ba727e1854 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -165,7 +165,7 @@ <title>See Also</title> <para> <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, - <citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + <citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> </para> </refsect1> diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 1cf899226a..9fc4b7cd8f 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -156,6 +156,17 @@ L /tmp/foobar - - - - /dev/null</programlisting> </varlistentry> <varlistentry> + <term><varname>m</varname></term> + <listitem><para>If the + specified file path exists + adjust its access mode, group + and user to the specified + values and reset the SELinux + label. If it doesn't exist do + nothing.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>x</varname></term> <listitem><para>Ignore a path during cleaning. Use this type |