|
|
Several Inaccuracies
@GaelicWizard:
For example, the group of a file/folder is ALWAYS the "gid" of the user account. The group id is not inherited from its parent folder. You can test this by creating a folder and setting the group to admin instead of staff. Then, open that folder and create a file. Notice that the group of the folder is staff, not admin."ALWAYS the gid of the user account"? That is false. Under Unix, the file created usually *does* get its gid from the parent. If you used TextEdit (or some other Apple app) to "create" the file, then that app can assign whatever group it wants. (in the case of TextEdit, it does its work on a file in a temporary directory first, and then copies the edited file over after (including gid apparently), thus erasing the original file (check the inode numbers). In Tiger, everything saved by TextEdit or Safari went into the wheel group. In Leopard now, those two apps always force staff as the group. Here is a demo of files deriving their gid from the parent (using Terminal):
Please fix the hint above with the information here in the comments, or pull it since it is providing wrong information on an already complex topic.If robg had to pull every hint containing errors, there would be almost nothing left. The comments typically serve that purpose (flawed that they too might be). -HI- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|