perl running os commands from web
crashkat at cmetech.com.au
Sun Nov 17 20:59:33 CST 2002
On Mon, 18 Nov 2002, Michael Lindner wrote:
> i want to run commands, for example:: touch hello :: is a pretty innocuous example of a
> command, and in this example i would expect to find a file called:: hello :: in the same
> directory as the script, or anywhere on the filesystems would be ok :-) but i do not.
> no command gets excecuted, whatever it is.
Does the user that the script is running as have permissions to run the
commands you are trying to run?
ie. for touch, the user would need to have write permissions to the
directory the script is in to be able to create the file.
More information about the Melbourne-pm