在fedora 23上安装root模块Net :: SFTP :: Foreign后,普通用户无法访问它,虽然他可以cd到那里,但是列表没有/ usr / local / share / perl5。
[root@PES-CMCC-DB ~]# !find
find `perl -e "print \"@INC\";"` -name "Foreign.pm"
/usr/local/share/perl5/Net/SFTP/Foreign.pm
./.cpan/build/Net-SFTP-Foreign-1.81-TYvkdG/blib/lib/Net/SFTP/Foreign.pm
./.cpan/build/Net-SFTP-Foreign-1.81-TYvkdG/lib/Net/SFTP/Foreign.pm
[root@PES-CMCC-DB perl5]# pwd
/usr/local/share/perl5
[root@PES-CMCC-DB perl5]# ls
Algorithm CPAN Expect.pm JSON Module ok.pm Perl Spiffy.pm TAP Time YAML.pod
App Crypt File LEOCHARRE Net Parse Smart Spiffy.pod Test YAML
CAM Devel Getopt Linux Number PDF Spiffy String Text YAML.pm
[pes@NP-CTC-DB ~]$ perl testDwdUnzip.pl
Can't locate Net/SFTP/Foreign.pm in @INC (you may need to install the Net::SFTP::Foreign module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at testDwdUnzip.pl line 2.
BEGIN failed--compilation aborted at testDwdUnzip.pl line 2.
[pes@NP-CTC-DB ~]$ find `perl -e "print \"@INC\";"` -name "Foreign.pm"
[pes@NP-CTC-DB ~]$
[pes@NP-CTC-DB perl5]$ pwd
/usr/local/share/perl5
[pes@NP-CTC-DB perl5]$ ls -l
total 0
[pes@NP-CTC-DB perl5]$
我想知道,如果fedora引入了一些特殊的访问控制方法。