Bob Showalter wrote: >>-----Original Message----- >>From: Soheil Shaghaghi [mailto:[EMAIL PROTECTED]] >>Sent: Thursday, July 18, 2002 2:48 PM >>To: [EMAIL PROTECTED] >>Subject: running tar from a browser >> >> >>Hello everyone. >> >>Here is my problem, if anyone can please help me: >>Running, Linux. >>I am trying to write a simple backup program to backup the data from a >>directory. >>The script works from the command line. >>But when I try to run the same script from the browser, it >>doesn't work. >>I get this message: >>"Data could not be backed up. >>Exited with the following message: No such file or directory" >> >>The error logs say: >>tar: backup.tar: Permission denied >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is the relevant problem > >
[snip] > The directory you switch to must be writable by the web server in > order to create backup.tar, or you will have to specify a directory > that *is* writable. or sudo the cgi as a user that does have write permissions to the directory. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]