About Group, OpenDirectory, Active Directory and Unix philosophy
About Group, OpenDirectory, Active Directory and Unix philosophy
- Subject: About Group, OpenDirectory, Active Directory and Unix philosophy
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 25 May 2005 23:08:13 +0200
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:
This email sent to email@hidden