Re: rsync ACLs and unix permissions (with/without rsrc)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qIGFBGDtAJYPhEEVlQlzlpgIL8cSHrZkD3sKnyYQ8/WE7zGxICv8vIx9ImfA5nW3ZN71zJRkWg7IDnNnXB2hiIVK9rxlwRKplWR6SgdX32GSh0XSrzlMSBODaE4sO0bT+8vn3rcIu9ucspAOi5KpsmyWvvPU1uhU3wwEmY6FLq4= I've never had any luck with the rsync that comes with 10.4. I use the rsync build from here: http://www.onthenet.com.au/~q/rsync/ Which has worked fine in my limited testing. You might have better luck with it. -Corey On 24 Dec 2006, at 01:41, Giuliano Gavazzi wrote:
a file with an ACL, copied with rsync local to local (from one volume to another), does not get its unix permissions copied. For instance a 755 file is copied with 600 permissions. sorry, the permission of the copied file are 400. This bug seems related to the permissions assigned to the extended attributes (the ._filename). Indeed, in another test (the source file is a_file): [sender] i=0 /var/tmp/testsource <NULL> . mode=040755 len=102 uid=0 gid=0 [sender] i=1 /var/tmp/testsource <NULL> ._a_file mode=0100400 len=1 uid=0 gid=0 [sender] i=2 /var/tmp/testsource <NULL> a_file mode=0100644 len=10 uid=0 gid=0 presumably the problem is in the order they are necessarily transferred; from rsync/generator.c: /* APPLE: extended attribute files (._foo) need to be transferred * after the corresponding file (foo). This creates a map the size * of flist with the number of the file that preempts the current * file's delivery. Set to -1 if there's nothing to do. */ g
Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/coreyoconnor%40gmail.com This email sent to coreyoconnor@gmail.com -- -Corey O'Connor _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 12/24/06, Giuliano Gavazzi <dev+lists@humph.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Corey O'Connor