Bug 5188 - Add option to sync Locked attribute on Mac OS X
Add option to sync Locked attribute on Mac OS X
Status: CLOSED LATER
Product: rsync
Classification: Unclassified
Component: core
3.0.0
PPC Mac OS X
: P3 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-11 11:09 UTC by Simon Ruderich
Modified: 2008-07-26 10:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Ruderich 2008-01-11 11:09:55 UTC
Hi,

I'm using rsync 3.0pre7 (30.PR16) on my Mac OS X 10.4 systems. It works very fine except one minor issue.

If I "lock" a directory or document in the Finder (Apple + I) and then backup this file, the file is not "locked" on the backup. I'm using the following command:

rsync --archive --no-group --xattrs --delete-during --human-readable --verbose  'source' 'target'

All other resource forks are stored correctly.

Thanks for your help,
Simon
Comment 1 Wayne Davison 2008-01-11 12:18:11 UTC
See the patches/flags.diff file for optional file-flags support.   I think that handles the locked attribute.  That patch works, but may have some problems.