Bug 3147 - message 'copying unsafe symlink' only appears if verbose>=2
message 'copying unsafe symlink' only appears if verbose>=2
Status: CLOSED WONTFIX
Product: rsync
Classification: Unclassified
Component: core
2.6.7
All All
: P3 trivial
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-06 13:20 UTC by Till Schmalmack
Modified: 2006-03-12 02:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schmalmack 2005-10-06 13:20:35 UTC
when using --copy-unsafe-symlink, the message `copying unsafe symlink' should be
displayed even with a single --verbose switch as it is the case for similar
messages like `ignoring unsafe symlink'.

simple fix in file flist.c, function readlink_stat
Comment 1 Wayne Davison 2006-02-01 19:56:07 UTC
I like the way that rsync currently handles this for the following reason:

When --links or --copy-links is used, rsync doesn't output a special message to indicate that something has gone according to plan, it just does what you told it to do.

The "ignoring unsafe symlink" message is more like the "skipping directory" message: it indicates that some item was not copied, and thus is a useful indication that you may need to take additional steps after the copy is done.