[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Must chmod & chown follow symlinks or not ?
From:       Luc Van Oostenryck <lkml () looxix ! net>
Date:       2005-06-21 0:09:59
Message-ID: 42B75AD7.70508 () looxix ! net
[Download RAW message or body]

With the patch this time ...

--- busybox/coreutils/chmod.c.orig	Sat Apr  3 15:36:46 2004
+++ busybox/coreutils/chmod.c	Tue Jun 21 00:41:22 2005
@@ -94,7 +94,7 @@ int chmod_main(int argc, char **argv)

  	/* 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;
  		}
--- busybox/coreutils/chown.c.orig	Sat Apr  3 15:36:46 2004
+++ busybox/coreutils/chown.c	Tue Jun 21 00:41:36 2005
@@ -87,7 +87,7 @@ int chown_main(int argc, char **argv)

  	/* Ok, ready to do the deed now */
  	do {
-		if (! recursive_action (*argv, (flags & FLAG_R), FALSE, FALSE,
+		if (! recursive_action (*argv, (flags & FLAG_R), TRUE, FALSE,
  								fileAction, fileAction, NULL)) {
  			retval = EXIT_FAILURE;
  		}





_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic