On Thu, Nov 14, 2024 at 19:47:02 +0000, Simon McVittie wrote: > I was a little surprised that a "d" line in tmpfiles.d alters the > permissions and ownership of a pre-existing directory, but I see that's > behaving as documented.
It's pretty subtle, though: d Create a directory. The mode and ownership will be adjusted if specified. It's not clear whether the second sentence applies if the documented operation "fails". Does someone want to split this off as a separate bug report? Something like this might be more clear: "Create a directory if it does not exist yet." (mirroring the wording used for most other types) "Set the mode and ownership, if specified." The "Type Modifiers" and "Mode" sections do add some clarity, but only after the reader may have gotten the wrong idea. -- Michael
signature.asc
Description: PGP signature