Bug 5188 - Add option to sync Locked attribute on Mac OS X
Summary: Add option to sync Locked attribute on Mac OS X
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.0
Hardware: PPC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2008-01-11 11:09 UTC by Simon Ruderich
Modified: 2008-07-26 10:25 UTC (History)
1 user (show)

See Also:


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

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,
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.