Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

RE: RE: Re: Create a file with Perl

by BastardOperator (Monk)
on Sep 17, 2000 at 06:20 UTC ( [id://32847]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Create a file with Perl
in thread Create a file with Perl

No, what I said was that you would need to create a directory ahead of time in which those files will be created. The directory needs to have proper permissions most likely 777, but if the data that they are writing is somehow sensitive, you'll need to make the nobody user the owner of the directory and give it 755 permissions. Then, instead of
open(FH, "> $myfile") ...
do
open(FH, "> somedirectorytheycanwriteto/$myfile") ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found