Re: PATCH: preserve osx creation-date (was: Using pre2 for backing up a mac)

2007-10-16 Thread Wesley W . Terpstra
On Oct 15, 2007, at 1:55 AM, Wayne Davison wrote: On Sun, Oct 14, 2007 at 08:14:57PM +0200, Wesley W. Terpstra wrote: I've attached a patch which does this. Currently resource forks and finder info get placed into an extended attribute transparently by osx (com.apple.{ResourceFork/FinderInfo})

Re: To inc_recurse or not to inc_recurse? [Re: 3.0.0pre2: bookend breakage (2 different errors)]

2007-10-16 Thread Wayne Davison
On Tue, Oct 16, 2007 at 12:30:34AM -0400, Matt McCutchen wrote: > In this situation, automatically disabling incremental recursion would > be better than exiting with an error that really isn't the user's > fault. Yeah. I hadn't wanted to add an extra round-trip delay that would be required by a

Re: lchmod for osx (was: Symlinks in OS X (10.4.1))

2007-10-16 Thread Wayne Davison
On Tue, Oct 16, 2007 at 12:38:19PM +0200, Wesley W. Terpstra wrote: > Someone with an intel mac should test this to check the uint32_t works > there too (I have a powerpc). It worked fine for a simple test. The latest CVS code now has your lchmod() alternative if setattrlist() is around. Thanks!

Re: lchmod for osx (was: Symlinks in OS X (10.4.1))

2007-10-16 Thread Victor Shoup
I've noticed the same thing...trying to change any of the timestamps on a symlink via setattrlist does nothing at all (not even complain). On Oct 16, 2007, at 8:56 AM, Wesley W. Terpstra wrote: Here's a patch that makes link permissions work when applied to rsync CVS. I am also trying to mak

Re: Symlinks in OS X (10.4.1)

2007-10-16 Thread Simo Sorce
On Mon, 2007-10-15 at 22:21 -0400, Matt McCutchen wrote: > On 10/15/07, Wayne Davison <[EMAIL PROTECTED]> wrote: > > Is there a system call that allows their permissions to be changed > > after they've been created? (Since lchmod is lacking.) > > I don't think so, but as Wesley hinted, one can ef

Re: lchmod for osx (was: Symlinks in OS X (10.4.1))

2007-10-16 Thread Wesley W. Terpstra
Here's a patch that makes link permissions work when applied to rsync CVS. I am also trying to make an lutimes alternative, but for whatever reason setattrlist silently drops my changes. lchmod-osx.patch Description: Binary data -- To unsubscribe or change options: https://lists.samba.org/

lchmod for osx (was: Symlinks in OS X (10.4.1))

2007-10-16 Thread Wesley W. Terpstra
Amazing no one else has written this... Someone with an intel mac should test this to check the uint32_t works there too (I have a powerpc). #include #include #include #include /* !!! */ #include #include int my_lchmod(const char *path, mode_t mode) { struct attrlist attrList;

DO NOT REPLY [Bug 4870] --link-dest results in errors for some paths containing spaces

2007-10-16 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4870 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

Re: rsync error: protocol incompatibility (code 2) at main.c(1385)

2007-10-16 Thread Mario Domgörgen
Hello! Please CC the list so people other than me can help you and so your messages will be available to future users. On 10/15/07, Mario Domgörgen <[EMAIL PROTECTED]> wrote: No, i don't run the client side command myself. The backup should start from the server, so i use the the second comm