Skip to content

(RHEL-77145) man: be even clearer that tmpfiles user/group/mode are applied on exi… #445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions man/tmpfiles.d.xml
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,11 @@ r! /tmp/.X[0-9]*-lock</programlisting>
sticky/SUID/SGID bit is removed unless applied to a
directory. This functionality is particularly useful in
conjunction with <varname>Z</varname>.</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 @@ -515,6 +520,11 @@ r! /tmp/.X[0-9]*-lock</programlisting>
<varname>r</varname>, <varname>R</varname>,
<varname>L</varname>, <varname>t</varname>, and
<varname>a</varname> lines.</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
Loading