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

2009-05-26 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 should

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-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 dovecot

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 pid_of_dovecot then try to access pop3 when fail occurs send us /tmp/access.log (gzipped) attached were you able to detect anything? I

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 pid_of_dovecot then try to access

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 suggestions. It

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

2009-05-21 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 shell

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 ?? I mean,

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/

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 pid_of_dovecot 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

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.in/web/

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 been

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 1.1.13,

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

[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:

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.