Now that sounds like that could be the overarching problem. It would also explain (I 
thingk) why I can't change the permissions of any of those directories with an ftp 
client. 
So if I change the ownership of the cgi-bin (and all the folders associated with the 
server) 
to www:www, then I should be able to write to the file. How is that accomplished?

Thanks for your help,

Mark
> >As you've said, it should create the file in the same directory, in
> >this case the cgi-bin, as the script (which is called write.cgi). I run
> >the call the script from the browser and the script runs fine, except,
> >no file is created. I added a "|| die ($!)" at the file open call and
> >add the CGI::CARP qw(fatalToBowser) at the top and get the following.
> >
> >Permission denied at /Library/WebServer/CGI-Executables/write.cgi
> >
> >All the permissions for each of these directories are 755. Something is
> >a miss. So what can I do?! I'm very confused.
> 
> But owned by whom?
> 
> By default the directory is owned by root:admin. With apache running
> as www:www it won't be able to write to that directory unless you
> either change ownership or open the directory wide with 777.
> 
> -Charles Albrecht
>  [EMAIL PROTECTED]
> 
> 

Reply via email to