CGI script running as a given user?

2005-06-07 Thread Rich Morin
I've got a Perl CGI script that acts as a system browser. For example, it can look at files and directories and say interesting things about them. This works fine, as long as the files are world-readable, but fails (because Apache runs as 'www') as soon as the user wanders into private areas.

Re: CGI script running as a given user?

2005-06-07 Thread Joel Rees
On 2005.6.7, at 11:51 PM, Rich Morin wrote: I've got a Perl CGI script that acts as a system browser. For example, it can look at files and directories and say interesting things about them. This works fine, as long as the files are world-readable, but fails (because Apache runs as 'www') as