open my $handle, '<', $file or die $!;
There are configurations where root isn't allowed to view some directories (for example with selinux) where -e would return false. But that's pure speculation on my side.
In reply to Re: Wrong file check while running using sudo
by moritz
in thread Wrong file check while running using sudo
by accessdenied
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |