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 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:


Attempting the same for a user-based ACE did not appear to work for a at first, but attempting the same after a few minutes at least gives an appearance (illusion ?) of working. I'm not saying this is a "good idea" by any means, as matching UUIDs across disparate systems seems completely counter to the purpose of a "Universally" unique identifier. Perhaps the an exception could be an OD master and its slave.


except that according Apple this should work no matter what the UUIDs are. I think they did not really understand the problem.

According to Apple each ACE is specific to a UUID. By design UUIDs should always be unique to each object. They are generated by combining the MAC address with the number of 100-nanosecond intervals since October 15, 1582.


If you need consistent UUID resolution then you use a directory service to provide that information.

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."


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).
_______________________________________________
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>)



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.