The ddm_save.pl perl script is erroring out when run.
cat ddm_backup.log
Can't locate File/Path.pm: /usr/local/lib64/perl5/File/Path.pm: Permission denied at ./ddm_save.pl line 14.
BEGIN failed--compilation aborted at ./ddm_save.pl line 14.
When running ddm_save.pl manually from the command line it seems to work fine.
Release : 22.2
The spectrum user did not have access to /usr/local/lib64/perl5/File/ and thus perl
errored out.
It seems that perl wants access to all its include directories even if the module is
located in one it has access to
perl -V
%ENV:
PERL5LIB="/usr/share/perl5/:/usr/lib64/perl5/:/usr/lib64/perl5/vendor_perl/:/usr/share/perl5/vendor_perl/"
@INC:
/usr/share/perl5/
/usr/lib64/perl5/
/usr/lib64/perl5/vendor_perl/
/usr/share/perl5/vendor_perl/
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
After adding access to /usr/local/lib64/perl5/File/ for the spectrum user the ddm_save.pl
script executed successfully.