Zbigniew Szalbot wrote:
hello again,
I usually investigate these things using sudo. Set yourself up as
a sudo user if you haven't already, and do "sudo -u www -s". That will
start a new shell and you'll be the www user during that session. Now walk
around in your directories and files. When you try to read, it's the www
user trying to read, and when you try to write...etc.
Excellent advice!
$ ls /var/db/dspam
ls: dspam: Permission denied
Why is it that I cannot as www user enter any folder within dspam?
$ ls -l /var/db/dspam
drwxr-xr-x 4 www mailnull 512 Jan 31 22:09 data
try ls -ld /var/db and ls -ld /var ... it's not only about the last
folder permissions. The user has to have execution permission on all the
folders in the path in order to be able to get there.
Rgds,
Hugo Monteiro.
--
ci.fct.unl.pt:~# cat .signature
Hugo Monteiro
Email : [EMAIL PROTECTED]
Telefone : +351 212948300 Ext.15307
Centro de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.ci.fct.unl.pt [EMAIL PROTECTED]
ci.fct.unl.pt:~# _