OK, I've never really noticed this before, but it just bit me :) Trying to make a directory structure with mode 755, when your umask is for example 0007, doesn't produce the desired results for the parent directories:
[EMAIL PROTECTED] src]# ./mkdir -m 755 -p /tmp/a/b/c [EMAIL PROTECTED] src]# ls -lR /tmp/a /tmp/a: total 4 drwxrwx--- 3 root root 4096 Oct 31 17:17 b /tmp/a/b: total 4 drwxr-xr-x 2 root root 4096 Oct 31 17:17 c /tmp/a/b/c: total 0 [EMAIL PROTECTED] src]# Is there some reason for this? I've verified this in my distros coreutils, as well as coreutils-6.9 (above). I'd think this would be a FAQ. but I found no other references to this aberrant behavior anywhere :) _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils