bug-coreutils
[Top][All Lists]
Advanced

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

mkdir bug with -m and -p together


From: Ariel
Subject: mkdir bug with -m and -p together
Date: Tue, 15 Jan 2008 13:07:12 -0500 (EST)


-p does not use the mode from -m for parent directories:

# mkdir -p -m 700 foo/bar
# ls -ld foo foo/bar

The directory foo does not have the correct permissions.

I can imagine:

# mkdir -p -m 500 foo/bar

Causing problems though, but unless it's easy to handle, I would ignore it (the user got what he requested).

        -Ariel




reply via email to

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