Re: rsync ACLs and unix permissions (with/without rsrc)
Re: rsync ACLs and unix permissions (with/without rsrc)
- Subject: Re: rsync ACLs and unix permissions (with/without rsrc)
- From: "Corey O'Connor" <email@hidden>
- Date: Sun, 24 Dec 2006 18:51:43 -0700
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 12/24/06, Giuliano Gavazzi <email@hidden> wrote:
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
-Corey O'Connor
_______________________________________________
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