Thank you for the reply.  I agree, zeros don't make much sense.

Skipping all of the carbon API stuff and using getattrlist() to get them 
also results in zero.  I'm still getting zero... verified in the debugger 
and printing like this:
       if ( (attrBuf->attrReturned.commonattr & ATTR_CMN_UUID) )
      {
         guid_t  guid_t = attrBuf->st_uid_uuid;
               printf("st_gid_uuid        : '%x.%x.%x.%x %x.%x.%x.%x 
%x.%x.%x.%x %x.%x.%x.%x\n",
                guid_t.g_guid[0],  guid_t.g_guid[1],  guid_t.g_guid[2], 
guid_t.g_guid[3],
                guid_t.g_guid[4],  guid_t.g_guid[5],  guid_t.g_guid[6], 
guid_t.g_guid[7],
                guid_t.g_guid[8],  guid_t.g_guid[9],  guid_t.g_guid[10], 
guid_t.g_guid[11],
                guid_t.g_guid[12], guid_t.g_guid[13], guid_t.g_guid[14], 
guid_t.g_guid[15]

                );
      }

So they are 'returned' by getattrlist.  The other values are correct so 
getattrlist is not a total failure.



I'm thinking there is a problem with the UUIDs or something else is 
missing.  From the getattrlist man page, ATTR_CMN_OWNERID and 
ATTR_CMN_UUID are 'analoguous'.  ATTR_CMN_OWNERID is 'equivalent' to the 
stat() st_uid field.  I take this to mean they should all have the same 
value.

However, the results show they are different.
>From getattrlist():
st_uid             :        501
st_gid_uuid        : '0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0
>From stat():
user ID of the file's owner                   (st_uid): 501


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to