Making rsync compile under Mac OS X 10.3.9 with extended
attributes
Matt McCutchen
matt at mattmccutchen.net
Mon Mar 17 16:12:57 GMT 2008
On Sat, 2008-02-23 at 12:35 +0100, Vitorio Machado wrote:
> There is still a strange little bug:
> Running
> sudo ./rsync -aHXNvvvv --fileflags /Volumes/Src
> /Volumes/Dst/80-rsync-test
> for the first time gives an error
> rsync: failed to set times on
> "/Volumes/Dst/80-rsync-test/Src/60-bsd-flags/dir-with-flags": Operation
> not permitted (1)
> The dir dir-with-flags it's created and appears to have the good times:
> iLaG:~/Desktop/rsync-3.0.0pre10 patched lag$
> /Developer/Tools/GetFileInfo
> /Volumes/Dst/80-rsync-test/Src/60-bsd-flags/dir-with-flags
> directory: "/Volumes/Dst/80-rsync-test/Src/60-bsd-flags/dir-with-flags"
> attributes: avbstcLinmed
> created: 02/17/2008 21:58:36
> modified: 02/17/2008 21:58:36
> iLaG:~/Desktop/rsync-3.0.0pre10 patched lag$
> /Developer/Tools/GetFileInfo /Volumes/Src/60-bsd-flags/dir-with-flags
> directory: "/Volumes/Src/60-bsd-flags/dir-with-flags"
> attributes: avbstcLinmed
> created: 02/17/2008 21:58:36
> modified: 02/17/2008 21:58:36
It looks like the error probably has to do with file flags interfering
with directory mtime retouching. Since rsync 3.0.0pre10, Wayne put in a
check to avoid retouching a directory mtime that is already correct and
made a bunch of improvements to the fileflags patch. Please try again
with the current development rsync.
Matt
More information about the rsync
mailing list