[Dovecot] failed: Permission denied missing +w perm: /home/mail_virtual/2001

Jürgen Herrmann Juergen.Herrmann at XLhost.de
Wed Nov 18 17:17:38 EET 2009


hi there!

i'm trying to run dovecot 1.2.4 managesieve service with mysql auth.
authentication is obviously going fine, i have debug_auth set to on
and can see log lines indicating auth success:

2009-11-18 16:04:24 auth(default): Info: client in: AUTH        1
       PLAIN   service=pop3    secured lip=127.0.0.1   rip=127.0.0.1
       lport=10100     rport=42497     resp=<hidden>
2009-11-18 16:04:24 auth-worker(default): Info: sql(jh at new.xlhost.de,127.0.0.1):
       query: SELECT alias as user, password, home as userdb_home,
       vuid as userdb_uid, vgid as userdb_gid FROM virtual_mailbox
       WHERE alias = 'jh at new.xlhost.de'
2009-11-18 16:04:24 auth(default): Info: client out: OK 1 user=jh at new.xlhost.de
2009-11-18 16:04:24 auth(default): Info: master in: REQUEST 1 27482 1
2009-11-18 16:04:24 auth-worker(default): Info: sql(jh at new.xlhost.de,127.0.0.1):
       SELECT home, vuid AS uid, vgid AS gid FROM virtual_mailbox
       WHERE alias = 'jh at new.xlhost.de'
2009-11-18 16:04:24 auth(default): Info: master out: USER 1 jh at new.xlhost.de
       home=/home/mail_virtual/2001    uid=2001        gid=2001
2009-11-18 16:04:24 pop3-login: Info: Login: user=<jh at new.xlhost.de>, method=PLAIN,
       rip=127.0.0.1, lip=127.0.0.1, secured


however then managesieve tries to chdir to the user's homedir, which fails:

2009-11-18 16:04:24 dovecot: Fatal: chdir(/home/mail_virtual/2001) failed:
      Permission denied (euid=2001 egid=2001 stat(/home/mail_virtual/2001)
      failed: Permission denied missing +w perm: /home/mail_virtual/2001)
2009-11-18 16:04:24 dovecot: Error: child 27589 (pop3) returned error 89
      (Fatal failure)


the user's homedir /home/mail_virtual/2001 ist set to 705 (also tried 700,
755, 770, 775 and 777) but still not write access.
the mail/homedirs are definitely writeable by their respective (virtual)
owners because postfix/maildrop is delivering to it and courier imap is
currently reading from it just fine.

any hints, please?

best regards,
jürgen herrmann
--
>> XLhost.de - eXperts in Linux hosting ® <<

XLhost.de GmbH
Jürgen Herrmann, Geschäftsführer
Boelckestrasse 21, 93051 Regensburg, Germany

Geschäftsführer: Volker Geith, Jürgen Herrmann
Registriert unter: HRB9918
Umsatzsteuer-Identifikationsnummer: DE245931218

Fon:  +49 (0)800 XLHOSTDE [0800 95467833]
Fax:  +49 (0)800 95467830

WEB:  http://www.XLhost.de
IRC:  #XLhost at irc.quakenet.org



More information about the dovecot mailing list