summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chown.c b/src/chown.c
index 972b281af..00cdb242b 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -1,5 +1,5 @@
/* chown -- change user and group ownership of files
- Copyright (C) 89, 90, 91, 1995-2008 Free Software Foundation, Inc.
+ Copyright (C) 89, 90, 91, 1995-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -326,6 +326,7 @@ main (int argc, char **argv)
quote ("/"));
}
+ bit_flags |= FTS_DEFER_STAT;
ok = chown_files (argv + optind, bit_flags,
uid, gid,
required_uid, required_gid, &chopt);