Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 chilling in the Monastery: (5)
As of 2014-07-12 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (236 votes), past polls