Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rsync/scp/tar and ACEs/ACLs




On 23 Mar 2007, at 01:33, david wrote:


On Mar 22, 2007, at 7:35 PM, Giuliano Gavazzi wrote:


On 22 Mar 2007, at 14:58, Josh Wisenbaker wrote:


On Mar 21, 2007, at 10:36 AM, Giuliano Gavazzi wrote:

except that this is not necessarily how rsync/scp and tar work. It is conceivable that their behaviour, when users by the same username exist on source and target, is meant to match users by username and only fall to UUID when the match does not exist. This is, mutatis mutandis (UUID <-> uid|gid), how rsync works by default.
My problem here is that many people talk about the(ir) theory but do not seem to have done tests.

I think others have given some very good explanations of how UUIDs work in OS X, and so while you/we may wish for something different, there is a logical reason why Apple's rsync works the way it does with ACEs. It's a matter of choices that have been made for reasons that make sense to some very knowledgeable people. They'd likely disagree that "they did not really understand the problem."



This is not how Apple thinks rsync/scp (and tar) work. This is why I am asking others to check my finds. I agree that there is a logical reason why some might think rsync should not work when transferring ACEs between machines, only that this is not the only possible outcome from logical thinking. UUIDs are not necessarily what rsync should go by as long as there is username correspondence, and this is how, I understand, Apple thinks. Of course I cannot speak for Apple, but someone mailed me that on his system it indeed works by using username correspondence, even when UUIDs are different. This is even more logical than using UUIDs, as this is consisten with the way rsync works by default when UNIX ownership is concerned.


Any reference to "how rsync works" is something of a non-sequitur: the official distro of rsync categorically fails to handle Apple ACLs/ACEs, it won't compile in OS X with the supplied acls.diff patch (try it yourself and see). As far as the official (ie; from the source, non-Apple customized) rsync is concerned, "ACLs" are those as they function in "linux" (I have no idea how standardized linux ACLs are or are not, but that's another matter).

I am not concerned about the official rsync, I am talking about the version of rsync that comes bundled with 10.4.9 (and associated system libraries).


So I am just saying, let's stop talking theory and let's instead see if there is, or there is not, inconsistency between what we see on different systems upgraded to 10.4.9, client and server.

g
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >10.4.9 just hit the streets (From: Philip Ershler <email@hidden>)
 >Re: 10.4.9 just hit the streets (From: Guillaume Gete <email@hidden>)
 >rsync [was Re: 10.4.9 just hit the streets] (From: Dan Shoop <email@hidden>)
 >Re: rsync [was Re: 10.4.9 just hit the streets] (From: Gustavo Beathyate <email@hidden>)
 >Re: rsync [was Re: 10.4.9 just hit the streets] (From: Giuliano Gavazzi <email@hidden>)
 >Re: rsync [was Re: 10.4.9 just hit the streets] (From: Giuliano Gavazzi <email@hidden>)
 >Re: rsync [was Re: 10.4.9 just hit the streets] (From: Axel Luttgens <email@hidden>)
 >Re: rsync [was Re: 10.4.9 just hit the streets] (From: david <email@hidden>)
 >rsync/scp/tar and ACEs/ACLs (From: Giuliano Gavazzi <email@hidden>)
 >Re: rsync/scp/tar and ACEs/ACLs (From: Josh Wisenbaker <email@hidden>)
 >Re: rsync/scp/tar and ACEs/ACLs (From: Giuliano Gavazzi <email@hidden>)
 >Re: rsync/scp/tar and ACEs/ACLs (From: david <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.