Bug#293207: bogofilter: Any fix found?
Karl Schmidt
karl at xtronics.com
Wed Mar 9 23:24:28 CET 2005
As the originator of this bug report, I want people on this list understand the
status of the bug (it is closed) and the nature of the problem may be a bit
confusing looking at the log at Debian.
In the beginning (before the transaction logging), the db files were created the
first time bogofilter was run with that users ownership and umask. If those
permissions were lose enough everything worked no matter who used them.
Now - add the new setup that creates log files - the log files get the
>>CURRENT<< users creation mask and ownership. Now when some other user tries
to run bogofilter the permission miss match from the log files return a not very
useful error from Bdb about db corruption, as it can't read the necessary log file.
Bdb isn't interested in checking ownership. The Bogofilter authors don't think
it is important (if the user is always the same it works) and it isn't precisely
their bug. So instead of doing some kind of ownership test that would return a
useful error, this permission problem will be rediscovered and talked about on
this list for the foreseeable future.
One way to fix this problem would be to have the package installation set up a
bogofilter user who would allow anyone belonging to the bogofilter group run
bogofilter and the bogofilter user would actually call Bdb and that would cause
all files to have a bogofilter.bogofilter ownership and no one would get any
error other than one complaining that the user doesn't belong to the bogofilter
group and no db corruption would occur.
----------------------------------------------------------------
Karl Schmidt EMail Karl at xtronics.com
Transtronics, Inc. WEB http://xtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434
"Even if you are on the right track,
you'll get run over if you just sit there" - Will Rogers
----------------------------------------------------------------
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter
More information about the Bogofilter
mailing list