in reply to OT: Local Perl - CGI - Apache.
This doesn't appear to be a Perl question... you haven't shown any Perl code... you've shown an inability for your web service user to access a directory structure.
You say you can stat the directory, but your example shows you can't. (If you can from the CLI, what user are you running the command as (I suspect root), and what is the command?) If your bash script can't stat a file as a user, why would you think this is a perl problem?
Please post what sudo -u apache ls -la /home/some_user says, as well as sudo -u apache ls -la /home | grep some_user
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OT: Local Perl - CGI - Apache.
by lanta (Sexton) on Nov 25, 2015 at 00:25 UTC |