Re: Accessing file system from CGI

2010-11-20 Thread Mike Martin
On 19 November 2010 09:13, Shlomi Fish wrote: > On Thursday 18 November 2010 16:32:08 Mike Martin wrote: >> Has anyone got any approaches that enable cgi scripts to access the >> host filesystem (readonly) >> > > There shouldn't be any problem for a CGI script to access the filesystem as > long as

Re: Accessing file system from CGI

2010-11-19 Thread Shlomi Fish
On Thursday 18 November 2010 16:32:08 Mike Martin wrote: > Has anyone got any approaches that enable cgi scripts to access the > host filesystem (readonly) > There shouldn't be any problem for a CGI script to access the filesystem as long as the user the CGI is running under has the necessary UN

Re: Accessing file system from CGI

2010-11-19 Thread Jeff Pang
You may make the filesystem readable to httpd's running user like nobody. Perl has no way doing something more effective. 2010/11/18 Mike Martin : > Has anyone got any approaches that enable cgi scripts to access the > host filesystem (readonly) > > I am working on a doc viewer app (intended for

Accessing file system from CGI

2010-11-19 Thread Mike Martin
Has anyone got any approaches that enable cgi scripts to access the host filesystem (readonly) I am working on a doc viewer app (intended for release as part of a suite), but I am hitting the "permission denied" issue. This applies to ls, opendir and find. any ideas appreciated -- To unsubscri