From c8e1be1445d1ffc32378f89a44eceac98ab57ee0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 25 Mar 2013 16:26:21 +0100 Subject: [PATCH] Fix ACL and default ACL to set 755/644 permissions on maildirs --- root/etc/e-smith/events/actions/dovecot-acl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/events/actions/dovecot-acl b/root/etc/e-smith/events/actions/dovecot-acl index 3ff142f..fea20ca 100644 --- a/root/etc/e-smith/events/actions/dovecot-acl +++ b/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