[Pkg-utopia-maintainers] Bug#1087525: surprising behaviour of "d" in tmpfiles.d
Michael Gold
michael at bitplane.org
Thu Nov 14 21:51:10 GMT 2024
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20241114/3af9cf5d/attachment.sig>
More information about the Pkg-utopia-maintainers
mailing list