in reply to Re^2: CGI script cannot create file.
in thread CGI script cannot create file.
However setting up a directory with write permission for the uid of the web service directly makes more sense from a certainty of action and security perspectiveperl -e ' $apache = qx(ps -ef | grep httpd); @fields=split /\s+/, $apa +che; exec ("chown $fields[0] /path/to/flat/file/directory");'
|
|---|