You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a file (in fact a script that uses Pod::Usage to generate man page) that can be read only by root (mode is 0700), perldoc can't generate documentation: perldoc bar.pod Error while formatting with Pod::Perldoc::ToTerm: Can't open bar.pod: Permission denied at /usr/share/perl/5.26/Pod/Perldoc/ToTerm.pm line 113.
I get a similar result if directory is readable only by root.
If run by root, privileges are dropped and the file or directory cannot be accessed.