you could use --cachedir?

I'd be ok with reverting that part of the change back to what it was
before, but note that it's got a pretty serious race condition; if
the process is CTRL-C'd halfway through the loop, it'll write
an incomplete file and lose data.

--j.

Theo Van Dinter writes:
> I was going to go through the AICache patches and make some comments, but I
> haven't had a chance yet.  However, here's a definite comment: it's broken in
> my environment.
> 
> I run mass-checks as both "felicity" and "corpus".  "corpus" only has write
> access to the cache file, and read-only access to the rest of the dirs/files.
> So when SA tries to create a temp file, "corpus" gets permission denied.
> 
> 
> ----- Forwarded message from Cron Daemon <[EMAIL PROTECTED]> -----
> 
> status: starting scan stage                              now: 2007-08-01 
> 05:12:04
> Can't write AI cache file 
> (/home/corpus/SA/corpus/ham/personal/2007/08/01/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/ham/personal/2007/07/31/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/ham/personal/2007/07/30/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/ham/personal/2007/04/12/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/ham/hamtrap/2007/08/01/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/ham/hamtrap/2007/07/31/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/spam/personal/2007/08/01/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/spam/personal/2007/07/31/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/spam/spamtrap/2007/08/01/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> Can't write AI cache file 
> (/home/corpus/SA/corpus/spam/spamtrap/2007/07/31/.spamassassin_cache.new): 
> Permission denied at 
> /home/corpus/SA/spamassassin-corpora/masses/../lib/Mail/SpamAssassin/AICache.pm
>  line 167.
> status: completed scan stage, 443157 messages            now: 2007-08-01 
> 05:12:57
> [...]
> 
> -- 
> Randomly Selected Tagline:
> The trained mind does not need a watch. Watches are a confidence trick
>  invented by the Swiss.  - Chiun in Remo Williams: The Saga Begins

Reply via email to