Re: permissions problem with cgi scripting

2009-10-11 Thread Shawn H Corey
Harry Putnam wrote: > This might ought to be another thread... but I wondered...in the case > where cgi is allowed in any directory.. how can they be kept from > being seen? Web servers have a configuration file that maps a http:// location onto a directory. Anything in it or its sub-directories

Re: permissions problem with cgi scripting

2009-10-11 Thread Harry Putnam
Shawn H Corey writes: > The directory's permissions must be writable to create new files. > Apparently it is not to your web server. > > It is considered a security breach to have the directory that contains > your CGIs writable. Consider putting the files in a subdirectory not > accessible via

Re: permissions problem with cgi scripting

2009-10-10 Thread David Christensen
Myf White wrote: I've never done much in the way of cgi scripts before, and am just getting started with it. I have encountered what seems to be a permissions problem, ... When I run this script on the server: > test.cgi, the test.txt file is created. However when I use a browser as a client to

Re: permissions problem with cgi scripting

2009-10-10 Thread Shawn H Corey
Myf White wrote: > I've never done much in the way of cgi scripts before, and am just getting > started with it. I have encountered what seems to be a permissions problem, > which I can't work out how to solve. I'm hoping someone can help me. > > I have a very simple test case: > > #!/usr/bin/per

permissions problem with cgi scripting

2009-10-10 Thread Myf White
I've never done much in the way of cgi scripts before, and am just getting started with it. I have encountered what seems to be a permissions problem, which I can't work out how to solve. I'm hoping someone can help me. I have a very simple test case: #!/usr/bin/perl use strict; use warnings; pri