Jürgen Herrmann
2009-Nov-18 15:17 UTC
[Dovecot] failed: Permission denied missing +w perm: /home/mail_virtual/2001
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
Timo Sirainen
2009-Nov-18 16:29 UTC
[Dovecot] failed: Permission denied missing +w perm: /home/mail_virtual/2001
On Wed, 2009-11-18 at 16:17 +0100, J?rgen Herrmann wrote:> 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)so "ls -dln /home/mail_virtual/2001" actually shows that the owner and group is 2001? Do you have SELinux or something similar enabled? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091118/7a4be6cb/attachment-0002.bin>
Jürgen Herrmann
2009-Nov-18 17:12 UTC
[Dovecot] failed: Permission denied missing +w perm: /home/mail_virtual/2001
On Wed, November 18, 2009 17:29, Timo Sirainen wrote:> On Wed, 2009-11-18 at 16:17 +0100, J?rgen Herrmann wrote: >> 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) > > so "ls -dln /home/mail_virtual/2001" actually shows that the owner and > group is 2001?app3:~# ls -dln /home/mail_virtual/2001 drwx------ 4 2001 2001 4096 18. Nov 13:59 /home/mail_virtual/2001 app3:~# ls -dln /home/mail_virtual/2001/Maildir/ drwx------ 54 2001 2001 4096 18. Nov 18:07 /home/mail_virtual/2001/Maildir/> > Do you have SELinux or something similar enabled? >no. regards, j?rgen -->> 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
Maybe Matching Threads
- ocfs2/o2cb problem with openais/pacemaker
- How can I read the "text" or "character string" from a txt file?
- converting from courier questions
- How can I read time series data to create zoo objects if I have two title lines?
- Resource map sanity check fails after GRUB "keeps" the gfx mode