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: Giuliano Gavazzi <email@hidden>
- Date: Sun, 24 Dec 2006 15:55:25 +0100
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