http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4923
Summary: $HOME/.spamassassin directory not created, files created
in /
Product: Spamassassin
Version: 3.1.2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Learner
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I installed 3.1.2 from source and some unexpected behavior happened.
I ran 'sa-learn --sync' (I do this to create the inital bayes files for a given
user) and typically this would create a .spamassassin directory (in the home
directory of the user that runs it) and place the initial bayes files there.
Instead it created the bayes files in the machine's root directory (when I ran
it as 'root'). With no user's bayes files on the system, when I ran
'sa-learn --sync' as another user, it appears it also tried to create the
inital bayes files in the machine's root directory but does not have permission
to write there, so: "bayes: expire_old_tokens: locker: safe_lock: cannot create
tmp lockfile /bayes.lock.host.example.5996 for /bayes.lock: Permission denied".
If I manually create the .spamassassin directory, the bayes files are placed
there. In the past I also would run 'spamassassin --lint -D' and this would
create a user_prefs file in the .spamassassin directory (and create the
directory if needed), but this no longer happens (but it does create
auto-whitelist; in the .spamassassin directory if it exists, or
/auto-whitelist if it does not).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.