https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8031

--- Comment #15 from Sidney Markowitz <sid...@sidney.com> ---
(In reply to Giovanni Bechis from comment #12)
> As an unprivileged user, regression test works, as root fails.
> I think the issue is that when spamd(8) starts as root and changes its user
> to "nobody", it cannot access the directory it started in and fails.

Oh, that's different, and makes me less inclined to fix it. Although I'll still
look at it some more. This could be tricky. Code at the comment

# Fix INC to point to absolute path of built SA

also ensures that there is an absolute path in @INC and that is there for a
reason. Maybe something can be done conditional on running as root, and it
would end up only breaking tests run on root on machines that rely on PERL5LIB
for local::lib installation of perl libraries. I would gladly settle for that
one as a known limitation if that's how it ends up.

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

Reply via email to