49 lines
2.4 KiB
Diff
49 lines
2.4 KiB
Diff
From 5219fc583393eec83ae2f7a1043bc45c16a8f15f Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Wed, 8 Nov 2023 10:56:07 +0100
|
|
Subject: [PATCH] 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 3cb938bd12b3603984b982e9b73e4cabd4a608e3)
|
|
|
|
Resolves: RHEL-15051
|
|
---
|
|
man/tmpfiles.d.xml | 14 ++++++++------
|
|
1 file changed, 8 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
|
|
index 379ac9c34f..595b9f6934 100644
|
|
--- a/man/tmpfiles.d.xml
|
|
+++ b/man/tmpfiles.d.xml
|
|
@@ -546,9 +546,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>
|
|
@@ -569,9 +570,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>
|