On 2 Feb 2014, Bob Proulx said
I cannot recreate the above behavior.
[..]
If I set umask to a more restrictive umask then I can.
$ umask 022
$ rm -rf /tmp/a
$ mkdir /tmp/a
$ cd /tmp/a
$ setfacl -m d:g::rwx .
$ mkdir b
$ mkdir -p c
$ ls -log
total 0
drwxrwxr-x+ 2
On Sat, 1 Feb 2014, Bob Proulx wrote:
Fredrik Tolf wrote:
I can't really imagine that this behavior is intended, and it seems
to go against any reasonable principle of least surprise.
It is intended because that is the way traditional legacy Unix systems
have always behaved. And because that
Package: coreutils
Version: 8.21-1
Severity: normal
Dear Maintainer,
Apparently, mkdir uses 0755 when used with the -p option to create
multiple levels of directories in one go. Normally, 0777 would be,
though masked to 0755 with the default umask.
I can't really imagine that this behavior is
Fredrik Tolf wrote:
Apparently, mkdir uses 0755 when used with the -p option to create
multiple levels of directories in one go. Normally, 0777 would be,
though masked to 0755 with the default umask.
I assume you are talking about directories above the target
directories getting created? If
4 matches
Mail list logo