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





------- Additional Comments From [EMAIL PROTECTED]  2007-06-26 13:25 -------
Committed to trunk revision 550927

> I think that problem was already fixed

In comment #10 you said that it wasn't, and I confirmed that simply changing the
permissions of log would not do it if /root was still 0700. The problem is that
testplugin.pm read/writes to a file to use it as a counter and the plugin runs
as nobody. I had to add something to spamd_plugin.t to skip the test under these
circumstances. Eventually I would like to have SATest.pm set up a temp directory
under /tmp that tests can use if they need to have setuid nobody spamd processes
access files, but that was more extensive changes than I wanted just to allow
CPAN installs.

Note that this still does not allow running the t/root* tests unless you build
SpamAssassin in a directory that is world-readable, and it does skip the
spamd_plugin.t test if you are running as root. So to fully test SpamAssassin
with this patch you would, for example, copy it as non-root in some directory
that is readable by nobody, make and make test, then sudo make test.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to