bug-coreutils
[Top][All Lists]
Advanced

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

[bug #19546] mkdir -p should use default ACL for parent directories


From: Matt McCutchen
Subject: [bug #19546] mkdir -p should use default ACL for parent directories
Date: Sat, 07 Apr 2007 15:37:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070313 Fedora/1.5.0.10-5.fc6 Firefox/1.5.0.10

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/





reply via email to

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