URL:
<http://savannah.gnu.org/bugs/?19546>
Summary: mkdir -p should use default ACL for parent
directories
Project: GNU Core Utilities
Submitted by: hashproduct
Submitted on: Saturday 04/07/2007 at 15:37
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I would like mkdir -p to observe the default ACL in preference to the umask
(as nearly all other programs do) when creating parent directories.
To reproduce, run this in an empty directory on a filesystem with ACLs
enabled:
umask 0077
setfacl -dm u::rwx,g::rwx,o::rwx .
mkdir foo
mkdir -p bar/baz
ls -l
Actual result:
total 0
drwx------+ 3 matt matt 72 Apr 7 11:32 bar
drwxrwxrwx+ 2 matt matt 48 Apr 7 11:32 foo
Desired result:
total 0
drwxrwxrwx+ 3 matt matt 72 Apr 7 11:32 bar
drwxrwxrwx+ 2 matt matt 48 Apr 7 11:32 foo
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19546>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils