permission denied during open

2004-02-01 Thread timothy driscoll
greetings, I am testing my fledling Perl knowledge by creating a new file via a cgi script, like this: #! /usr/bin/perl -w use strict; use CGI; use CGIMolv::Error; my $q = new CGI; # Parse_form_data is a sub that parses user input from a Web form. my %query = Parse_form_data() or

Re: permission denied during open

2004-02-01 Thread Andrew M. Langmead
On Feb 1, 2004, at 8:59 AM, timothy driscoll wrote: I thought perl ran as nobody, so giving r/w access to 'nobody' should work. but obviously it doesn't - so what did I do wrong? Perl runs as the user that invokes the script (except for one specific circumstance called setuid, but lets ignore

Re: permission denied during open

2004-02-01 Thread Rick Measham
On 2 Feb 2004, at 12:59 am, timothy driscoll wrote: this fails with an error 'Permission denied' when the target dir 'temp' looks like this: drwxrwxr-x 3 nobodynobody 102 1 Feb 08:44 temp but it works if I make the dir writeable by everyone: drwxrwxrwx 3 nobodynobody 102 1 Feb

Re: permission denied during open

2004-02-01 Thread Rick Measham
OK, I'm a git. I didn't scroll down so I didn't realise this had already been answered half a dozen times. Sorry! On 2 Feb 2004, at 10:32 am, Rick Measham wrote: On 2 Feb 2004, at 12:59 am, timothy driscoll wrote: this fails with an error 'Permission denied' when the target dir 'temp' looks