• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why no work on rsync?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why no work on rsync?


  • Subject: Re: Why no work on rsync?
  • From: Martin Costabel <email@hidden>
  • Date: Thu, 02 Mar 2006 10:37:44 +0100

Boyd Waters wrote:
[]
I note that rsync as patched by Apple will segfault every time if you run as root and try to rsync the top level of an HFS+ volume, if you try to use the -E extended attribute switch.

It seems they tried to fix this bug in the new security update. Unfortunately, they introduced another one: Now the --delete flag doesn't work any more.


Does anyone have a workaround for this? It is a show-stopper for any backup or sync script that uses rsync.

The error:

% ls -la a b
a:
total 0
drwxr-xr-x     3 costabel  staff   102 Mar  2 09:46 .
drwx------   290 costabel  staff  9860 Mar  2 09:57 ..
-rw-r--r--     1 costabel  staff     0 Mar  2 09:46 c

b:
total 0
drwxr-xr-x     2 costabel  staff    68 Mar  2 09:46 .
drwx------   290 costabel  staff  9860 Mar  2 09:57 ..

% rsync -auv b/ a/ --delete
building file list ... done
rsync: delete_one: unlink "/Users/costabel/Documents/test/a/c" failed: Unknown error: 0 (0)


sent 75 bytes received 20 bytes 190.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-23/rsync/main.c(717)


BTW, I have already filed a bug with Apple.

--
Martin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Why no work on rsync?
      • From: "Jordan K. Hubbard" <email@hidden>
  • Prev by Date: Re: Kerberos authentication with dsDoDirNodeAuth ?
  • Next by Date: Re: Why no work on rsync?
  • Previous by thread: Re: Kerberos authentication with dsDoDirNodeAuth ?
  • Next by thread: Re: Why no work on rsync?
  • Index(es):
    • Date
    • Thread