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 [was Re: 10.4.9 just hit the streets]




On Mar 16, 2007, at 12:24 PM, Axel Luttgens wrote:

On 15/03/07 13:15, Giuliano Gavazzi wrote:

[...]
but when transferred back to the original machine the ACL is fine  again.. so that's not so bad...

I wonder, does this mean that ACLs are stored in a machine dependent  way?? 


AFAIK, the general principle is:

   - an ACL is bound to an UUID, not a name, or a UID, or a GID
   - when an UUID is generated for an object (user, group...), that
     UUID is (should be) unique throughout time and space

Note that the ACL I used is:

0: user:root allow read

and root is always uid 0.


Assuming you have to boxes on which root has been assigned an UUID, root on box A is not root on box B, even if they both have the same name/UID.

Now, the root user will not always have an UUID.
This is for example the case on a OS X client on which root has never been activated and/or never logged in.
In such a case, it seems that a temporary UUID will be associated to root:
   FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000000
More generally, every user without an explicit UUID will have
   FFFFEEEE-DDDD-CCCC-BBBB-AAAAuuuuuuuu
as a temporary UUID, where uuuuuuuu is the user's UID.
In such cases, users on differing boxes may share a same (pseudo-)UUID and thus have "portable" ACLs.

I will try with a removable drive (or will someone else on the list  do it...?)


Provided the drive is attached to a box using the directory (Netinfo, LDAP...) with the relevant info, there should be no problem.

In my own testing, a group ACE is preserved across systems, but only after I set the UUID (or, GeneratedUID as it's shown in Workgroup Manager's Inspector) to be identical. Without setting a matching UUID, the synced directory shows " <UNKNOWN>"  for the ACE (ie: at the target/destination).

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.


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



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.