Fix ACL and default ACL on maildirs which have to be 755/644
This commit is contained in:
parent
19d0c43c27
commit
c24e5140ec
|
@ -64,7 +64,7 @@ sub set_acl {
|
|||
system('/usr/bin/setfacl',
|
||||
'-R',
|
||||
'-m',
|
||||
'u::rwX,g::rwX,g:sharedmailbox:rwX,d:u::rwX,d:g::rwX,d:g:sharedmailbox:rwX',
|
||||
'u::rwX,g::rwX,o::rX,g:sharedmailbox:rwX,d:u::rwX,d:g::rwX,d:g:sharedmailbox:rwX,d:o::rX',
|
||||
"/home/e-smith/files/users/$user/Maildir") == 0 &&
|
||||
# Grant sharedmailbox group permission to go through
|
||||
# the home dir so it can access the Maildir, but don't let it read
|
||||
|
|
Loading…
Reference in New Issue