Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://155896]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-07-21 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (318 votes). Check out past polls.