bug-coreutils
[Top][All Lists]
Advanced

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

Bug or Feature in mkdir(1)


From: Gordon Hamachi
Subject: Bug or Feature in mkdir(1)
Date: Fri, 21 Nov 2008 12:58:23 -0800

When I use mkdir -p it makes parent directories as needed.  Fine.
When I use mkdir -m it sets the permission mode of the directory I
make.  Also fine.

The problem is, when I use mkdir -p -m it only sets the mode of the
last directory.  All of the parent directories take the default mode,
which is not what I want.  It would be convenient if there were an
option to apply the -m mode to all parents that get created.

--Gordon Hamachi




reply via email to

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