You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Moskowitz <rg...@htt-consult.com> on 2007/08/17 23:32:37 UTC

Different permission problems

The saga continues.

Still don't have things right, where might I look?

Why does spam assassin continue to try and write to /root ??


Aug 17 17:13:09 z9m9z spamd[10449]: spamd: connection from 
localhost.localdomain [127.0.0.1] at port 59858
Aug 17 17:13:09 z9m9z spamd[10449]: spamd: creating default_prefs: 
/root/.spamassassin/user_prefs
Aug 17 17:13:09 z9m9z spamd[10449]: mkdir /root/.spamassassin: 
Permission denied at 
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin.pm line 1536
Aug 17 17:13:09 z9m9z spamd[10449]: config: cannot write to 
/root/.spamassassin/user_prefs: Permission denied
Aug 17 17:13:09 z9m9z spamd[10449]: spamd: failed to create readable 
default_prefs: /root/.spamassassin/user_prefs
Aug 17 17:13:09 z9m9z spamd[10449]: mkdir /root/.spamassassin: 
Permission denied at 
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin.pm line 1536
Aug 17 17:13:09 z9m9z spamd[10449]: spamd: processing message 
<LY...@lists.universalservice.org> 
for root:502



Re: Different permission problems

Posted by Matt Kettler <mk...@verizon.net>.
Robert Moskowitz wrote:
> The saga continues.
>
> Still don't have things right, where might I look?
>
> Why does spam assassin continue to try and write to /root ??
You're running 3.1.9 I see, from past posts.

That version is subject to this bug in the setuid code:

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5574

This bugfix is pending for the not-yet-released 3.1.10 tree, and is
already present in the fully-released 3.2.3 version of spamassassin.

I'm not 100% sure if that's the cause, but it seems quite likely. (note:
there's a LOT of unrelated stuff on that bugreport)