* lib/mkdir-p.c (make_dir_parents): Close a race condition that
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Feb 2007 07:56:15 +0000 (07:56 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Feb 2007 07:56:15 +0000 (07:56 +0000)
commit7a4d87fb5a3ad4c8a300940dc472749c6c84fa70
tree5a35f483d594b08c8b699006b6da8fa777e0454a
parent8ff1fb9421879c3869ff9c640d248199dcda3151
* lib/mkdir-p.c (make_dir_parents): Close a race condition that
occurs when "mkdir -m foo" creates a setgid directory that is (1)
writeable to group or other and (2) is intended to have a special
mode bit that is set or cleared.  In such a case, the directory
should be neither group- nor other-writeable until the special
mode bits are right.
ChangeLog
lib/mkdir-p.c