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.
In reply to Re: Directory created with incorrect permissions
by moritz
in thread Directory created with incorrect permissions
by rspishock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |