in reply to how to avoid web server from getting hacked
What's the error? (Did the open return false, and if so what was in $!?)
Assuming "Permission denied",
As which user is the script running?
Who's the owner of /home?
What's the permissions of /home?
Who's the owner of /home/jma?
What's the permissions of /home/jma?
Who's the owner of /home/jma/Documents?
What's the permissions of /home/jma/Documents?
Who's the owner of /home/jma/Documents/cron-job?
What's the permissions of /home/jma/Documents/cron-job?
|
|---|