Author serhiy.storchaka
Recipients pitrou, r.david.murray, serhiy.storchaka
Date 2013-12-07.20:37:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386448647.67.0.218583181124.issue19921@psf.upfronthosting.co.za>
In-reply-to
Content
The mkdir utility creates parent directories with mode 0o777 & ~umask.

$ mkdir -p -m 0 t1/t2/t3
$ ls -l -d t1 t1/t2 t1/t2/t3
drwxrwxr-x 3 serhiy serhiy 4096 Dec  7 22:30 t1/
drwxrwxr-x 3 serhiy serhiy 4096 Dec  7 22:30 t1/t2/
d--------- 2 serhiy serhiy 4096 Dec  7 22:30 t1/t2/t3/

So perhaps we should just use 0o777 mode for parent directories.
History
Date User Action Args
2013-12-07 20:37:27serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, r.david.murray
2013-12-07 20:37:27serhiy.storchakasetmessageid: <1386448647.67.0.218583181124.issue19921@psf.upfronthosting.co.za>
2013-12-07 20:37:27serhiy.storchakalinkissue19921 messages
2013-12-07 20:37:27serhiy.storchakacreate