Skip to content

Commit

Permalink
man: be even clearer that tmpfiles user/group/mode are applied on exi…
Browse files Browse the repository at this point in the history
…sting inodes

I think it was clear already, but let's be even clearer.

Fixes: #29774
(cherry picked from commit 3cb938b)
(cherry picked from commit 9ed9bfe)
  • Loading branch information
poettering authored and bluca committed Nov 9, 2023
1 parent 1c09ddd commit a40a439
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions man/tmpfiles.d.xml
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,10 @@ w- /proc/sys/vm/swappiness - - - - 10</programlisting></para>
removed unless applied to a directory. This functionality is particularly useful in conjunction with
<varname>Z</varname>.</para>

<para>Optionally, if prefixed with <literal>:</literal>, the configured access mode is only used when
creating new inodes. If the inode the line refers to already exists, its access mode is left in place
unmodified.</para>
<para>By default the access mode of listed inodes is set to the specified mode regardless if it is
created anew, or already existed. Optionally, if prefixed with <literal>:</literal>, the configured
access mode is only applied when creating new inodes, and if the inode the line refers to
already exists, its access mode is left in place unmodified.</para>
</refsect2>

<refsect2>
Expand All @@ -570,9 +571,10 @@ w- /proc/sys/vm/swappiness - - - - 10</programlisting></para>
Resolvability of User and Group Names</ulink> for more information on requirements on system user/group
definitions.</para>

<para>Optionally, if prefixed with <literal>:</literal>, the configured user/group information is only
used when creating new inodes. If the inode the line refers to already exists, its user/group is left
in place unmodified.</para>
<para>By default the ownership of listed inodes is set to the specified user/group regardless if it is
created anew, or already existed. Optionally, if prefixed with <literal>:</literal>, the configured
user/group information is only applied when creating new inodes, and if the inode the line refers to
already exists, its user/group is left in place unmodified.</para>
</refsect2>

<refsect2>
Expand Down

0 comments on commit a40a439

Please sign in to comment.