cgi permissions
cgi permissions
(OP)
Without correct permissions for files created by CGI scripts, a script will fail. So, how to set permissions automatically (on the fly) when generating CGI files with new or unique names?
By the way, the cgi code is compiled/binary, so no mod_perl, etc.
By the way, the cgi code is compiled/binary, so no mod_perl, etc.
RE: cgi permissions
RE: cgi permissions
One thing you might be able to do, set the perms on the parent directory to rwxrws--x
Files and subdirs below the parent will inherit the parent's perms. Then you can put apache into the same group that the parent directory is a member of. So now group members can write - it doesn't have to be the owner to write to the file.