Multiple permissions problem

Josef Ridky <[email protected]>
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
Hi

I was requested to solve this problem so I am contacting you as upstrem:

---

bash-4.3$ amdump normal
Can't locate Tie/StdHash.pm:   ./Tie/StdHash.pm: Permission denied at /usr/share/perl5/base.pm line 99.
	...propagated at /usr/share/perl5/base.pm line 108.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Amanda/Config/FoldingHash.pm line 3.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Amanda/Config.pm line 753.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Amanda/Config.pm line 753.
Compilation failed in require at /usr/sbin/amdump line 29.
BEGIN failed--compilation aborted at /usr/sbin/amdump line 29.

---

The problem is, that in Perl 5.20 has been removed file Tie/StdHash.pm and has been "transferred" to Tie/Hash.pm.
So is correct to use "use base 'Tie::StdHash' in FoldingHash.pm on line 3? Will removing of this line solve described problem?

Best regards

Josef Ridky
Associate Software Engineer
Core Services Team
Red Hat Czech, s.r.o.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.