summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorRob Landley2005-12-12 06:58:53 +0000
committerRob Landley2005-12-12 06:58:53 +0000
commita75c180e538bb8adc0bb280c61dd933fd8d3e56d (patch)
tree6a1f5d4bf9f9bf282ff4ce1d26c67ce77e66024b /coreutils
parent032e2cbf20bd54a7b5ded482ed1ba9d3deb574f9 (diff)
downloadbusybox-a75c180e538bb8adc0bb280c61dd933fd8d3e56d.zip
busybox-a75c180e538bb8adc0bb280c61dd933fd8d3e56d.tar.gz
Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentally
modifying permissions or ownership when twiddling symlinks.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c
index 0cb8886..3014d37 100644
--- a/coreutils/chmod.c
+++ b/coreutils/chmod.c
@@ -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;
}