Skip to content

Commit 856e800

Browse files
poetteringbluca
authored andcommitted
man: be even clearer that tmpfiles user/group/mode are applied on existing 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) (cherry picked from commit a40a439)
1 parent e6c6de4 commit 856e800

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

man/tmpfiles.d.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,10 @@ w- /proc/sys/vm/swappiness - - - - 10</programlisting></para>
546546
removed unless applied to a directory. This functionality is particularly useful in conjunction with
547547
<varname>Z</varname>.</para>
548548

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

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

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

577579
<refsect2>

0 commit comments

Comments
 (0)