From 41a72eaea98f1d99fc09678e4b9b2215ff13da24 Mon Sep 17 00:00:00 2001 From: landley Date: Mon, 12 Dec 2005 06:58:53 +0000 Subject: Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentally modifying permissions or ownership when twiddling symlinks. git-svn-id: svn://busybox.net/trunk/busybox@12843 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- coreutils/chmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils/chmod.c b/coreutils/chmod.c index 0cb888628..3014d374a 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; } -- cgit v1.2.3-55-g6feb