2

I've created the following ACLs for a directory:

# file: .
# owner: www-data
# group: root
user::rwx
user:www-data:rwx
user:deploy:rwx
group::---
mask::rwx
other::---
default:user::rwx
default:user:www-data:rwx
default:user:deploy:rwx
default:group::---
default:mask::rwx
default:other::---

However, if a script creates a new directory and specifies a bitmask, the default mask isn't applied.

How can I force this ACL to take effect regardless of the bitmask that's supplied to mkdir()?

TimB
  • 1,430
  • 2
  • 15
  • 19
tom
  • 343
  • 2
  • 4
  • 7
  • 1
    Could you provide some "getfacl" output form the parent directory, as well as the newly created subdirectory? – Univ426 Aug 08 '12 at 19:48
  • @tom maybe this link can help you http://serverfault.com/questions/556836/have-new-files-inherit-their-folders-extended-acls/557393#557393 – c4f4t0r Dec 16 '13 at 18:11

0 Answers0