Mailing Lists: Apple Mailing Lists

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

About Group, OpenDirectory, Active Directory and Unix philosophy



Let's say I have a user which is authenticating (him|her)self against an Active Directory Server from (his|her) Mac OS X machine.

This leads the uid tool showing some group ids which are not the standard ones (20,80,0,501, 502, etc.). For instance: 1547231201.

Now, the user is going to create a file in (his|her) mobile home folder.

Shall the gid for the file be the one of the parent folder (staff for instance) or the one shown by uid?

Currently, for a tool, I'm setting the gid of the resulting file to the gid of the logged user (obtained with getgid()).

Is this wrong from an Unix philosophy point of view?

Additionally, doing this prevents an Apple application from using the file whereas the uid for the file is perfectly correct and the permissions are rwx for the user.


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

This email sent to 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.