[Dovecot] pop3 gives a permission denied error on chdir
Kenneth Gonsalves
lawgon at au-kbc.org
Thu May 21 09:58:21 EEST 2009
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, make sure "su" may set uid to the user of UID 5000 (esp. the
> > shell is a real shell, so (as root) # su user -c "echo OK"
> > displays "OK", then do as root #
> >
> > su user -c 'cd /home/vmail/example.com/john && echo Dir:$(pwd)'
>
> 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/example.com and
/home/vmail/example.com/john
still the same error.
--
regards
Kenneth Gonsalves
Associate
NRC-FOSS
http://nrcfosshelpline.in/web/
More information about the dovecot
mailing list