Cannot open /media/EXTERNAL: Permission denied
The difference is the user that is running the script. When you run the script, it's running under your permissions. When the web server server runs it, it's using the web server's permissions.Check your httpd.conf (assuming Apache) for the User and Group directive, then adjust your FS permissions accordingly.
| XP matters not. Look at me. Judge me by my XP, do you? |
In reply to Re: A CGI script to list the files on my external harddrive
by grep
in thread A CGI script to list the files on my external harddrive
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |