Bug 310: be consistent about stat/lstat and chown/lchown to avoid accidentally

modifying permissions or ownership when twiddling symlinks.
This commit is contained in:
Rob Landley 2005-12-12 06:58:53 +00:00
parent 032e2cbf20
commit a75c180e53

View File

@ -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;
}