Wolfram Kleff <[EMAIL PROTECTED]> writes: | Try the following: | > umask 077 | > mkdir -m 755 -p 1/2 | | Directory "1" gets permission 700, Directory "1/2" gets permission 755. | Is this correct behavior ? | Directory "1" should have permission 755, or not ? Thanks for the report. That is indeed the correct behavior. The `-m'-specified permissions apply only to the final component, not any intermediate ones.