Bug 6553 - rsync hangs at filenames starting with an underscore
rsync hangs at filenames starting with an underscore
Status: RESOLVED WORKSFORME
Product: rsync
Classification: Unclassified
Component: core
3.0.6
PPC Mac OS X
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-15 16:29 UTC by Gerald Erdmann
Modified: 2011-01-01 14:12 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Erdmann 2009-07-15 16:29:28 UTC
I'm using rsync 3.0.6 at Mac OS X 10.4.11/PPC to sync a harddisc to an network folder (via AFP). Everything is fine but if a file begins with an underscore ( _ ), rsync hangs (e.g. _x_.jpg). I tried to analyze the problem with a lots of debugging options but I don't find a solutions (but to jump over these files). With rsync 2.9.6 and 2.6.6 it is the same problem.

I'm using configure without any further options.
Comment 1 roland 2009-08-07 04:57:21 UTC
does OSX have strace/truss utility ?

if yes, could you run rsync under control of such tracing tools (output redirected to a file via ">/trace.log 2>&1") and then upload the result ?
Comment 2 roland 2010-08-22 06:30:56 UTC
a year has gone by with no answer.

i`d recommend closing this one due to missing user input
Comment 3 Wayne Davison 2011-01-01 14:12:48 UTC
Rsync doesn't care about an underscore-starting file, but OS X sometimes creates virtual files for associated data that are named for the primary file with a leading underscore added.  The official rsync uses xattrs for this data, so make sure you aren't mixing an apple-modified rsync (which creates extra filenames) with an xattr-using rsync.