* lib/mkdir-p.c (make_dir_parents): Fix race condition when making
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Dec 2006 07:23:36 +0000 (07:23 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Dec 2006 07:23:36 +0000 (07:23 +0000)
commitd7df32475ce350a132c7c842e192d52780eea129
tree5ba3ffaa488028a0a5f28eb9785c434233471829
parent34bc3595924e9c87130f4b9c9aa349488c82ab7f
* lib/mkdir-p.c (make_dir_parents): Fix race condition when making
a directory that is about to be chowned.  Such a directory's
initial file permissions should permit the owner only and this
should not be changed until after the chown, since the group and
other bits would be incorrect if they granted permission before
the chown.
ChangeLog
lib/mkdir-p.c