Fix ACL and default ACL on maildirs which have to be 755/644

This commit is contained in:
Daniel Berteaud 2013-03-25 16:23:51 +01:00
parent 19d0c43c27
commit c24e5140ec
1 changed files with 1 additions and 1 deletions

View File

@ -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