Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: running cgi as user other than nobody

by archen (Pilgrim)
on Apr 02, 2002 at 01:16 UTC ( #155896=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: running cgi as user other than nobody
in thread running cgi as user other than nobody

well if you can't chmod the file within the same script then I'd say you're overlooking something (hard to say without looking at the code). I've never actually seen an instance where something like this doesn't work:

... open(FILE, ">$file") || die $!; ... [stuff] close(FILE); chmod 0666 $file;
Opening the file later might still be another issue...


Comment on Re: Re: Re: running cgi as user other than nobody
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (17)
As of 2015-07-29 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls