Closed GoogleCodeExporter closed 9 years ago
The setuid and setgid checks aren't necessary as aren't executing the script
anyway.
Original comment by Graham.Dumpleton@gmail.com
on 7 Sep 2008 at 5:06
More flexible idea may to have option be called 'script-owner'. This would
effectively default to '*' which
would mean don't care who owns file and with no other checks.
If the option is set to a single user name/id, then script file must be owned
by that user. Plus, the directory
must also be owned by that user and directory must not be writable to group or
others.
Slightly relaxed version would be to allow multiple user name/ids to be listed
separated by commas. In this
case the script file must be owned by one of the list users. There would be no
checks on who is owner of
directory or whether directory writable by group or others.
The case of a single user would be like suEXEC checks.
For case of more than one user being listed, expected that group would have to
be writable to allow the
different users to add scripts to the directory. This option would be useful
where applications run as a special
user different to all the people who work on the application, yet the users
still need to be able to change the
scripts.
Original comment by Graham.Dumpleton@gmail.com
on 13 Jan 2009 at 10:26
Support for script-user and script-group options committed in various updates
ending with r1167.
For script-user, must be one user listed. That user must be owner of script and
the directory script is in. The
script file and directory must not be writable to group or world.
For script-group, must be one group listed. That group must match group of
script and directory script is in. The
script file and directory must not be writable to world.
Original comment by Graham.Dumpleton@gmail.com
on 27 Jan 2009 at 1:24
Version 3.0 of mod_wsgi now released with these changes.
Original comment by Graham.Dumpleton@gmail.com
on 22 Nov 2009 at 2:55
Original issue reported on code.google.com by
Graham.Dumpleton@gmail.com
on 9 Aug 2008 at 7:16