Zbigniew Szalbot wrote:
> Hello,
> 
> I have been trying to set up the webui, I am almost there but there is
> some sort of a permission problem that blocks me from saving preferences
> as well as from displaying them.
> 
> This is what happens when I try to save preferences:
> 
> I was trying to change a setting in the preferences via GUI and got this:
> 
> An Error Has Occured
> The following error occured while trying to process your request:
> Unable to write preferences: Permission denied
> 
> Also, when I log in I see that there is something not right because:
> 
> Overall accuracy (since last reset)   N/A%
> Spam identification (since last reset)        N/A%
> Spam ratio (of total processed)       0%
> 
> I am willing to give more details but please tell me what to output. My
> data is stored in mysql. I am using virtual users (with vexim) the dspam
> database is populated with every local delivery.
> 
> Stat & log files are writen to /var/db/dspam/data/domain.tld/user
> 
> Where do I look to solve it? Thank you!

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.

E.g. DSPAM_HOME /var/lib/dspam, webserver user: wwwrun, group www.
The user wwwrun needs write access in /var/lib/dspam.

/Lars

Reply via email to