Writing to a text file

2001-06-22 Thread Geraint Jones
I'm stuck! I want to write to a text file through a CGI script in append/truncate mode, but every time I am told I don't have permission. I'm running Linux, I've changed ownership and group to nobody and nogroup to no avail. What do I have to do to get it to work? Security is not an issue

Re: Writing to a text file

2001-06-22 Thread Timothy Kimball
Geraint Jones wrote: : I'm stuck! I want to write to a text file through a CGI script in : append/truncate mode, but every time I am told I don't have permission. I'm : running Linux, I've changed ownership and group to nobody and nogroup to no : avail. A few thoughts: * Is the file

Re: Writing to a text file

2001-06-22 Thread perl
its most likely because the web server is running as nobody and the file is owned by your user. you can make the file writable to everyone by type : chmod goa+rwx filename or to be safe you can install SuExec on apache, it will execute the cgis as the user who owns them.. Ryan On Fri, 22 Jun