Fix ACL and default ACL to set 755/644 permissions on maildirs

tags/smeserver-dovecot-extras-0.1.4-1
Daniel Berteaud 12 years ago
parent 53941d7314
commit c8e1be1445
  1. 2
      root/etc/e-smith/events/actions/dovecot-acl

@ -64,7 +64,7 @@ sub set_acl {
system('/usr/bin/setfacl', system('/usr/bin/setfacl',
'-R', '-R',
'-m', '-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 && "/home/e-smith/files/users/$user/Maildir") == 0 &&
# Grant sharedmailbox group permission to go through # Grant sharedmailbox group permission to go through
# the home dir so it can access the Maildir, but don't let it read # the home dir so it can access the Maildir, but don't let it read

Loading…
Cancel
Save