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.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (291 votes). Check out past polls.