Markus Petri
2012-Apr-24 11:00 UTC
[Dovecot] Permission problems when trying to create new folders with ACL plugin
Hi, I have the a problem with shared folders and the ACL plugin. The user "markus" has full access to "Shared/shared-user/Data": 3 GETACL "Shared/shared-user/Data" * ACL "Shared/shared-user/Data" "markus" akxeilprwtscd 3 OK Getacl completed. but creating a new subfolder under "Data" fails: 4 CREATE "Shared/shared-user/Data/New1" 4 NO [NOPERM] Permission denied This used to work with the same configuration and Dovecot 2.0. Cheers, Markus dovecot -n output: # 2.1.5: /opt/dovecot-2.1/etc/dovecot/dovecot.conf # OS: Linux 3.2.0-2-amd64 x86_64 Debian wheezy/sid auth_mechanisms = plain login disable_plaintext_auth = no listen = 192.168.56.11 mail_location = maildir:~/Maildir mail_plugins = acl managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace { inbox = yes location = prefix = separator = / subscriptions = yes type = private } namespace { inbox = no list = children location = maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u prefix = Shared/%%u/ separator = / subscriptions = no type = shared } passdb { args = /opt/dovecot-2.1/etc/dovecot/passwd driver = passwd-file } plugin { acl = vfile acl_anyone = allow acl_shared_dict = file:/var/lib/vdovecot/shared-mailboxes.db } protocols = imap service auth { unix_listener auth-userdb { mode = 0600 user = vdovecot } } ssl = no userdb { args = /opt/dovecot-2.1/etc/dovecot/passwd driver = passwd-file } verbose_proctitle = yes protocol imap { mail_plugins = acl imap_acl }
Timo Sirainen
2012-Apr-25 21:27 UTC
[Dovecot] Permission problems when trying to create new folders with ACL plugin
On 24.4.2012, at 14.00, Markus Petri wrote:> I have the a problem with shared folders and the ACL plugin. The user > "markus" has full access to "Shared/shared-user/Data": > > 3 GETACL "Shared/shared-user/Data" > * ACL "Shared/shared-user/Data" "markus" akxeilprwtscd > 3 OK Getacl completed. > > but creating a new subfolder under "Data" fails: > > 4 CREATE "Shared/shared-user/Data/New1" > 4 NO [NOPERM] Permission deniedFixed: http://hg.dovecot.org/dovecot-2.1/rev/e8b80e0767ac
Markus Petri
2012-Apr-26 06:34 UTC
[Dovecot] Permission problems when trying to create new folders with ACL plugin
On Thu, 26 Apr 2012 00:27:25 +0300 Timo Sirainen <tss at iki.fi> wrote:> On 24.4.2012, at 14.00, Markus Petri wrote: > > > I have the a problem with shared folders and the ACL plugin. The > > user "markus" has full access to "Shared/shared-user/Data": > > > > 3 GETACL "Shared/shared-user/Data" > > * ACL "Shared/shared-user/Data" "markus" akxeilprwtscd > > 3 OK Getacl completed. > > > > but creating a new subfolder under "Data" fails: > > > > 4 CREATE "Shared/shared-user/Data/New1" > > 4 NO [NOPERM] Permission denied > > Fixed: http://hg.dovecot.org/dovecot-2.1/rev/e8b80e0767ac >That fixed it. Thanks.