[Dovecot] Permission problems when trying to create new folders with ACL plugin

Markus Petri markus at mpetri.org
Tue Apr 24 14:00:05 EEST 2012


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
}



More information about the dovecot mailing list