Zbigniew Szalbot wrote:
> Hello again,
> 
>> Just about I guess. You might want to verify this by showing me
>> what permissions the /usr/local/www/data/dspam/cgi-bin/default.prefs file
>> has. Also, I do believe that user specific defaults goes into
> 
> $ l /var/db/dspam
> total 80
> drwxrwx---  4 www   mailnull    512 Jan 31 22:09 data

Try setting 755 on the data directory.

> lrwxr-xr-x  1 root  mailnull     47 Feb  1 14:06 default.prefs ->
> /usr/local/www/data/dspam/cgi-bin/default.prefs

This probably doesn't come in to play for this particular problem.

> $ l /usr/local/www/data/dspam/cgi-bin/default.prefs
> -rwxr-xr-x  1 root  wheel  1383 Feb  1 10:24
> /usr/local/www/data/dspam/cgi-bin/default.prefs

On the other hand, it might. At any rate, this file
should be read/writable by the www user.

>> /var/db/spam/<user>/default.prefs and your web server most likely
>> is not allowed to write there. /L
> 
> My webserver runs under user www and all subdirectories of
> /var/db/dspam/data are chown www:mailnull
> 
> For example:
> 
> $ l /var/db/dspam/data/szalbot.homedns.org/zbyszek
> total 50
> -rw-rw----  1 www  mailnull  47643 Feb  1 19:16 zbyszek.log
> -rw-rw----  1 www  mailnull     14 Feb  1 19:16 zbyszek.stats

And how about the permissions on...

/var/db/dspam
/var/db/dspam/data
/var/db/dspam/data/szalbot.homedns.org

They all count.

Also, make sure your cgi-bin/configure.pl matches your setup.
/L

Reply via email to