in reply to Writing to the File
OK, permissioning in a CGI script sometimes can be tricky. First off: what userid is the CGI running as? I know a lot of sites that run their webservers as "nobody" which doesn't have permission to write files to most places on the system. A nice way to keep the script kiddies honest.
Next: who owns the directory you are trying to write the file to? If the file was already written once, who owns it now and answer the "First off" question.
Lastly and possibly the first question I should have asked what platform what web server, in other words what is the environment? Based on your original post it looks like some flavor of *nix. Are there Access Control Lists involved?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Writing to the File
by msk_0984 (Friar) on Jun 29, 2006 at 04:35 UTC |