Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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()?

share|improve this question
1  
Could you provide some "getfacl" output form the parent directory, as well as the newly created subdirectory? –  John K Aug 8 '12 at 19:48
    
@tom maybe this link can help you serverfault.com/questions/556836/… –  c4f4t0r Dec 16 '13 at 18:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.