Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: file permissions and CGI scripts

by tinman (Curate)
on Apr 28, 2001 at 03:13 UTC ( #76301=note: print w/replies, xml ) Need Help??


in reply to file permissions and CGI scripts

Your webserver probably (most certainly) does not have the same permissions as you do.. Webservers run under the user nobody or a similarly low power account..

Check to see the user/group that the webserver is running (in Apache, httpd.conf has this or defaults to nobody:nobody)..
Change the CGI script ownership to your webserver account (best course), and make sure the access permissions are set right as well
HTH

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://76301]
help
Chatterbox?
[Lady_Aleena]: LanX, for every module I've written?
[huck]: Lady_Aleena see Re: pl script in webserver and/or Re: pl script in webserver for what they use
[Lady_Aleena]: Wouldn't I have to run the modules somehow to get their %INC?
[huck]: the first one works just fine from the command line but requires editing
[huck]: but neither will handle autoloads
[Lady_Aleena]: huck, I was thinking more along the lines of just getting all my .pm files, iterating over them, and making a big ol' hash or something.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-05-27 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?