From c0dac69808f8223cdfe9d1a1c2fdfa224ea0ead4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 2 Jan 2006 07:30:27 +0000 Subject: New approach to safer chmod. --- ChangeLog | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e3c424dfa..84de9f8d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,25 @@ -2005-12-27 Jim Meyering +2006-01-01 Paul Eggert * Version 6.0-cvs. + * NEWS: Document that mkfifo and mknod -m no longer set special bits. + * src/copy.c: Include lchmod.h. + (copy_internal): Use lchmod rather than chmod. + * src/cp.c: Include lchmod.h. + (re_protect, make_dir_parents_private): Use lchmod rather than chmod. + * src/mkdir.c: Include lchmod.h. + (usage): Clarify -m's operation. + (main): Use lchmod rather than chmod. Don't use lchmod unless the + new mode contains bits outside the 777 range. + * src/mkfifo.c (usage): Clarify -m's operation. + (main): If -m is given, don't invoke chmod; use umask 0 instead. + Report an error if -m asks for bits outside the 777 range. + * src/mknod.c (usage, main): Likewise. + + * src/mkdir.c, src/mkfifo.c, src/mknod.c: Undo 2005-12-19 changes. + +2005-12-27 Jim Meyering + * Makefile.maint (sc_obsolete_symbols): Prohibit use of O_NDELAY. (sc_prohibit_assert_without_use): New rule. (syntax-check-rules): Add it to the list. -- cgit v1.2.3-70-g09d2