Re: [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@irc.quakenet.org
On Wed, 2009-11-18 at 18:12 +0100, Jürgen Herrmann wrote:
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
What about /home and /home/mail_virtual's permissions? Is this on NFS or local filesystem?
In any case kernel is telling Dovecot that chdir() failed with permission denied..
On Wed, November 18, 2009 19:31, Timo Sirainen wrote:
On Wed, 2009-11-18 at 18:12 +0100, Jürgen Herrmann wrote:
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
What about /home and /home/mail_virtual's permissions? Is this on NFS or local filesystem?
In any case kernel is telling Dovecot that chdir() failed with permission denied..
setup was: /mnt is root.root 755 /mnt/nfs-backup1 is a mountpoint for nfs /home/mail_virtual is a symlink -> /mnt/nfs-backup1
/mnt/nfs-backup1 was root.root 705, which caused the problems, setting it to 755 solved those problems.
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@irc.quakenet.org
participants (2)
-
Jürgen Herrmann
-
Timo Sirainen