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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://155896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2024-04-25 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found