Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Cannot save to file with a CGI scipt

by valdez (Monsignor)
on Sep 23, 2002 at 15:38 UTC ( [id://200138]=note: print w/replies, xml ) Need Help??


in reply to Cannot save to file with a CGI scipt

The funny thing happening here is that your web server runs under a different user, usually apache|nobody|www. Probably the directory you are trying to write into is owned by you and not by the user that runs httpd. So, if you check $! you will probably see a permission denied error.
The solution is to change the owner of the directory where your script will write its files. Now you need to discover who should be the owner :)

Ciao, Valerio

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://200138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-03-28 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found