diff options
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,7 +1,19 @@ -2005-12-17 Jim Meyering <jim@meyering.net> +2005-12-19 Jim Meyering <jim@meyering.net> * Version 6.0-cvs. + * src/mkdir.c, src/mknod.c, src/mkfifo.c (main) + Avoid a minor race condition when `-m MODE' is specified, by using + open, fchown, and close rather than just chown. To do that reliably + (even with an overly restrictive umask), ensure that each + mkdir/mknod/mkfifo call uses a mode including at least owner-read access. + * src/mknod.c (main): When `-m MODE' is specified, exit nonzero if + the subsequent chown (or equivalent open,fchown,close) fails. + * tests/misc/mknod: New tests. + * tests/misc/Makefile.am (TESTS): Add mknod. + +2005-12-17 Jim Meyering <jim@meyering.net> + * src/remove.c (is_empty_dir): Open with O_NDELAY, so we don't hang, e.g., on a named pipe. (OPEN_NO_FOLLOW_SYMLINK): Remove definition. Use O_NOFOLLOW in |