Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-26 Thread Kenneth Gonsalves
On Tuesday 26 May 2009 13:33:24 Max Ivanov wrote: > > If strace says chdir() failed with EACCES, the only way it could be > > something else is if kernel is buggy or there is some kernel security > > module preventing the access. > > Or dovecot doesn't change uid to user one and still acts as dovec

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-26 Thread Max Ivanov
> If strace says chdir() failed with EACCES, the only way it could be > something else is if kernel is buggy or there is some kernel security > module preventing the access. Or dovecot doesn't change uid to user one and still acts as dovecot user, but its unlikely to be true

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-25 Thread Timo Sirainen
On Tue, 2009-05-26 at 11:24 +0530, Kenneth Gonsalves wrote: > > I can't really give any more suggestions. It should either be a > > directory permission problem somewhere or SELinux or something. You > > could maybe temporarily try installing v1.2 and see what it logs as > > the error. It sho

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-25 Thread Kenneth Gonsalves
On Monday 25 May 2009 23:00:46 Timo Sirainen wrote: > >> were you able to detect anything? I am still stuck with the problem. > > > > Well, strace says what Dovecot also says: > > > > 5598  chdir("/home/vmail/example.com/john") = -1 EACCES (Permission   > > denied) > > I can't really give any more

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-25 Thread Timo Sirainen
On May 25, 2009, at 1:28 PM, Timo Sirainen wrote: On May 25, 2009, at 7:16 AM, Kenneth Gonsalves wrote: On Thursday 21 May 2009 12:51:11 Kenneth Gonsalves wrote: On Thursday 21 May 2009 12:40:00 you wrote: exec "strace -f -o /tmp/access.log -etrace=file -p " then try to access pop3 when fa

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-25 Thread Timo Sirainen
On May 25, 2009, at 7:16 AM, Kenneth Gonsalves wrote: On Thursday 21 May 2009 12:51:11 Kenneth Gonsalves wrote: On Thursday 21 May 2009 12:40:00 you wrote: exec "strace -f -o /tmp/access.log -etrace=file -p " then try to access pop3 when fail occurs send us /tmp/access.log (gzipped) attached

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-25 Thread Kenneth Gonsalves
On Thursday 21 May 2009 12:51:11 Kenneth Gonsalves wrote: > On Thursday 21 May 2009 12:40:00 you wrote: > > exec "strace -f -o /tmp/access.log -etrace=file -p " > > then try to access pop3 when fail occurs send us /tmp/access.log > > (gzipped) > > attached were you able to detect anything? I am st

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-21 Thread Kenneth Gonsalves
On Thursday 21 May 2009 12:50:05 Timo Sirainen wrote: > > I also did a chmod o+r on /home, /home/vmail, /home/vmail/ > > example.com and > > /home/vmail/example.com/john > > chdir() wants +x, not +r. that doesn't work either -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.i

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-21 Thread Kenneth Gonsalves
On Thursday 21 May 2009 12:40:00 you wrote: > exec "strace -f -o /tmp/access.log -etrace=file -p " > then try to access pop3 when fail occurs send us /tmp/access.log > (gzipped) attached -- regards Kenneth Gonsalves Associate NRC-FOSS http://nrcfosshelpline.in/web/ access.log.gz Description: G

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-21 Thread Timo Sirainen
On May 21, 2009, at 2:58 AM, Kenneth Gonsalves wrote: greenchilly:/home/lawgon# su vmail -c "echo OK" OK greenchilly:/home/lawgon# su vmail -c 'cd /home/vmail/example.com/ john && echo Dir:$(pwd)' Dir:/home/vmail/example.com/john I also did a chmod o+r on /home, /home/vmail, /home/vmail/ ex

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-21 Thread Kenneth Gonsalves
On Thursday 21 May 2009 12:15:12 Kenneth Gonsalves wrote: > On Wednesday 20 May 2009 18:49:25 Steffen Kaiser wrote: > > Well, there are lots of "permission denied" problems lately. > > > > Are you really absolutely sure that user with uid 5000 may chdir into > > /home/vmail/example.com/john ?? > >

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Kenneth Gonsalves
On Wednesday 20 May 2009 18:49:25 Steffen Kaiser wrote: > Well, there are lots of "permission denied" problems lately. > > Are you really absolutely sure that user with uid 5000 may chdir into > /home/vmail/example.com/john ?? > > I mean, make sure "su" may set uid to the user of UID 5000 (esp. the

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 16:58 +0530, Kenneth Gonsalves wrote: > > Anyway that > > chdir() syscall really failed with that error message. The reason for > > that is less clear then.. v1.1+ would give a much nicer error message > > here telling exactly what is wrong.. > > I have installed version 1.1.

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 May 2009, Kenneth Gonsalves wrote: Well, there are lots of "permission denied" problems lately. Are you really absolutely sure that user with uid 5000 may chdir into /home/vmail/example.com/john ?? I mean, make sure "su" may set uid to

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Kenneth Gonsalves
On Wednesday 20 May 2009 16:58:22 Kenneth Gonsalves wrote: > no > > > Anyway that > > chdir() syscall really failed with that error message. The reason for > > that is less clear then.. v1.1+ would give a much nicer error message > > here telling exactly what is wrong.. > > I have installed version

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Kenneth Gonsalves
On Wednesday 20 May 2009 01:20:37 you wrote: > On Tue, 2009-05-19 at 13:35 +0530, Kenneth Gonsalves wrote: > > May 19 09:16:10 greenchilly dovecot: chdir(/home/vmail/example.com/john) > > failed with uid 5000: Permission denied > > .. > > > I have looked at the archives and see that the problem has

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-19 Thread Timo Sirainen
On Tue, 2009-05-19 at 13:35 +0530, Kenneth Gonsalves wrote: > May 19 09:16:10 greenchilly dovecot: chdir(/home/vmail/example.com/john) > failed with uid 5000: Permission denied .. > I have looked at the archives and see that the problem has been reported > before, but cannot find any solution. Do

[Dovecot] pop3 gives a permission denied error on chdir

2009-05-19 Thread Kenneth Gonsalves
hi, I am running debian lenny standard install and dovecot also as a standard install. I have a problem with POP3 access. The error message is: May 19 09:16:10 greenchilly dovecot: chdir(/home/vmail/example.com/john) failed with uid 5000: Permission denied May 19 09:16:10 greenchilly dovecot: c