everythingand2 |
02-28-2004 07:53 AM |
Need help with shell scripts via the web
I have a shell script that I want to run using a PHP script from the web. The shell script works fine when run from the command line but when I run it from the web, the files created by the script are owned by "nobody" and the group is set to "nobody" as well. This in turn will not allow the shell script to execute completely and cleanly. Is there a way to set a default owner and group on files created in a certain directory? It seems like everything done from the web sets the owner and group to "nobody" and unfortunately this won't allow my script to complete. Can anyone offer any advice or suggestions? Thanks.
- Brad
|