Dear All,

I have a cgi-script that is supposed to delete some files in a directory. I 
am using File::Path::rmtree to do this. The files are chmoded 755.

Whenever I run this script from the command line, it does exactly as it is 
supposed to do.

Whenever I run this script from within a browser, it skips over the files. 
However, when I chmod the files 777 the script also works from within the 
browser.

I suppose it has something to do with CGI. I have looked in the FAQs but 
the only mentioning of the problem I found was in connection with an 
Internal Server Error. However, I do not have such error.

I am running the script on a Sun Solaris Machine with an Apache Web Server. 
The owner of the files is the same as the owner of the script.

What could I do to make the script do what it is supposed to do regardless 
of whether it is run from the command line or the browser?

Kind regards,

Anette 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to