Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: File::Temp permisions?

by misterb101 (Sexton)
on Feb 10, 2006 at 11:14 UTC ( #529321=note: print w/replies, xml ) Need Help??


in reply to File::Temp permisions?

Hi anonymous, the owner of new files created by an cgi process is the user that is running apache. usually this is www-data, apache or just nobody.
I don't think File::Temp offers setting of file permissions but you can do this by either.
- chmod 0755 ,$file;
- changing apache config to set the file create mask to 755 or whatever you like

In windows I don't know what would happen since I never work on windows systems anymore ;)

Cheers,
Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-05-18 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (176 votes). Check out past polls.

    Notices?