Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Directory created with incorrect permissions

by moritz (Cardinal)
on Feb 02, 2012 at 17:10 UTC ( #951494=note: print w/ replies, xml ) Need Help??


in reply to Directory created with incorrect permissions

The mask you give to mkdir is just a mask, which is XORed with AND-ed with the negation of umask to create the actual permission bits. If the umask is 022, it's no surprise that the file comes out as 0750.


Comment on Re: Directory created with incorrect permissions

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-12-20 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls