[BusyBox] Must chmod & chown follow symlinks or not ?
Luc Van Oostenryck
lkml at looxix.net
Tue Jun 21 00:09:59 UTC 2005
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;
}
More information about the busybox
mailing list