svn commit: trunk/busybox/coreutils

landley at busybox.net landley at busybox.net
Mon Dec 12 06:58:55 UTC 2005


Author: landley
Date: 2005-12-11 22:58:53 -0800 (Sun, 11 Dec 2005)
New Revision: 12843

Log:
Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentally
modifying permissions or ownership when twiddling symlinks.


Modified:
   trunk/busybox/coreutils/chmod.c


Changeset:
Modified: trunk/busybox/coreutils/chmod.c
===================================================================
--- trunk/busybox/coreutils/chmod.c	2005-12-12 06:52:45 UTC (rev 12842)
+++ trunk/busybox/coreutils/chmod.c	2005-12-12 06:58:53 UTC (rev 12843)
@@ -94,7 +94,7 @@
 
 	/* Ok, ready to do the deed now */
 	do {
-		if (! recursive_action (*argv, recursiveFlag, FALSE, FALSE,
+		if (! recursive_action (*argv, recursiveFlag, TRUE, FALSE,
 								fileAction,	fileAction, smode)) {
 			retval = EXIT_FAILURE;
 		}




More information about the busybox-cvs mailing list