Zbigniew Szalbot wrote:
> Dear Lars,
> 
>> I'd say it's a question of the web server not being allowed to
>> write to the preferences file. You have to see to it that the user
>> running/owning your webserver is allowed to write/update the preferences
>> file.
> 
> $ l /var/db/dspam
> total 80
> drwxrwx---  4 www   mailnull    512 Jan 31 22:09 data
> lrwxr-xr-x  1 root  mailnull     47 Feb  1 14:06 default.prefs ->
> /usr/local/www/data/dspam/cgi-bin/default.prefs
> -r--r--r--  1 root  wheel      2257 Jan 31 20:34 firstrun.txt.sample
> -r--r--r--  1 root  wheel      1315 Jan 31 20:34 firstspam.txt.sample
> -r--r--r--  1 root  wheel      1283 Jan 31 20:34 quarantinefull.txt.sample
> -rw-rw----  1 root  mailnull  70864 Feb  1 18:52 system.log
> 
> DSPAM was installed as root:mailnull and apache runs as user www.
> Directory data and all subdirs are chown www:mailnull.
> 
> I thought it should be ok?

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
/var/db/spam/<user>/default.prefs and your web server most likely
is not allowed to write there.
/L

Reply via email to