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
> 
> When I try to open zbyszek.log in data/domain/user/ I cannot do it running
> as a www user. This is why webui does not want to even display stats.
> 
> But how do I fix that?

Simply open up permissions until it works. You used 770 (rwxrwx---)
somewhere (was it /var/db/dspam maybe) and that is a bit odd for a
directory, try 755 (rwxr-xr-x) instead, and so on.
What's the permission for example on /var/db?
/L

Reply via email to