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

tags/0.1.1
Daniel Berteaud 12 years ago
parent 19d0c43c27
commit c24e5140ec
  1. 2
      root/etc/e-smith/events/actions/dovecot-acl

@ -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…
Cancel
Save