I'm writing a CGI script in UNIX that needs to be able to read the contents of a directory /foo/bar on the server. The problem I'm running into is the 'nobody' user doesn't have permission to read /foo/bar.
# This doesn't work...
my @configs_glob = glob("/foo/bar/*.ini");
# Permissions of...
I'm trying to find out why a particular Perl script is experiencing errors on a move command. Here's the line that's erroring:
move( "$file", "$homeDir/trash/" ) or $err1 = "Y";
I want to capture the exit status of the move command, but still make sure the err1 variable gets set to Y, since...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.