coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`install -d` sets owner:group only for the last directory


From: Merlin Büge
Subject: `install -d` sets owner:group only for the last directory
Date: Wed, 12 Feb 2020 16:06:53 +0100

Hello,

I just noticed that when executing

        `install -d -o user -g user m/a/b`

as root, only the last directory "b" will have set owner:group to
user:user. The leading directories "m" and "a" will be owned by root,
given that they don't exist when the command is executed.
Tested with GNU coreutils 8.31.

Is this intended behavior?


Thanks.
-- 
Merlin Büge



reply via email to

[Prev in Thread] Current Thread [Next in Thread]