diff options
Diffstat (limited to 'src/chown-core.c')
-rw-r--r-- | src/chown-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chown-core.c b/src/chown-core.c index 606db39ea..b39061091 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -261,7 +261,8 @@ change_file_owner (FTS *fts, FTSENT *ent, { if (ROOT_DEV_INO_CHECK (chopt->root_dev_ino, ent->fts_statp)) { - /* This happens e.g., with "chown -R --preserve-root /". */ + /* This happens e.g., with "chown -R --preserve-root 0 /" + and with "chown -RH --preserve-root 0 symlink-to-root". */ ROOT_DEV_INO_WARN (file_full_name); /* Tell fts not to traverse into this hierarchy. */ fts_set (fts, ent, FTS_SKIP); |