SpamAssassin Perl Issues.
Damian
amavis at arcsin.de
Mon Feb 10 19:08:58 CET 2025
I cannot reproduce your problem with `cpan` alone, but one can get such
"Permission denied" errors, when the path towards an @INC entry cannot
be traversed at some point.
> root at edbfe5cd3d75:~# mkdir -p /usr/local/lib/site_perl/Foo && chmod
> o-rwx /usr/local/lib/site_perl
> root at edbfe5cd3d75:~# echo 1 > /usr/local/lib/site_perl/Foo/Bar.pm
> root at edbfe5cd3d75:~# perl -MFoo::Bar -e1
> root at edbfe5cd3d75:~# su - amavis -c 'perl -MFoo::Bar -e1'
> Can't locate Foo/Bar.pm: /usr/local/lib/site_perl/Foo/Bar.pm:
> Permission denied.
> BEGIN failed--compilation aborted.
So it does not need to be related to the Amavis namespace.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20250210/8747b500/attachment.htm>
More information about the amavis-users
mailing list