Re: rsync ACLs and unix permissions (with/without rsrc)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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/site_archiver%40lists.appl... 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. */ This email sent to site_archiver@lists.apple.com
participants (1)
-
Giuliano Gavazzi