Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Creating file with 777 permission

by reasonablekeith (Deacon)
on Nov 21, 2006 at 09:31 UTC ( [id://585225]=note: print w/replies, xml ) Need Help??


in reply to Re: Creating file with 777 permission
in thread Creating file with 777 permission

That's still going to be affected by umask, and is unlikely to reliably give 777 as the permission mode of the file.

You're probably best off creating the file first with your specific requirements, then opening it.

---
my name's not Keith, and I'm not reasonable.
  • Comment on Re^2: Creating file with 777 permission

Replies are listed 'Best First'.
Re^3: Creating file with 777 permission
by Smaug (Pilgrim) on Nov 21, 2006 at 09:35 UTC
    Agreed, but you're also unlikely to want a file that is open for writing to be executed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found