Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Warning | 16 comments | Create New Account
Click here to return to the 'Warning' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Warning
Authored by: gommino_2000 on Oct 14, '03 02:30:45PM

I don't understand why you suggest this. Every file and folder in your home directory should belong to you! A quick check on an another home directory (or a freshly created one) will confirm this.

I would also suggest changing the group to 'staff' at the same time with the following command:

% sudo chown -R myname:staff /Users/myname

Regards,
Rob.




[ Reply to This | # ]
Warning
Authored by: uochris on Oct 14, '03 08:51:54PM

Isn't the default to have the user as the owner with rwx across the board and the group is staff with no access. Why is there a group assigned if they have no access? With the command issued above, that would give all other admin users access to your folders which is not how the user folders are set up by OS X. Is that right or is my system funky?



[ Reply to This | # ]
Warning
Authored by: yellow on Oct 15, '03 09:42:34AM

It does place your home directory in the staff group. However, this wouldn't stop an admin from parusing your hierarchy, so changing the group to admin ensures that no non-admin users can paruse your hierarchy. Personally, on every machine I set up, the non-admins have thier home hierarchies chowned to username:staff, admin to username:admin, and Applications/Applications (Mac OS 9), System Folder are chowned to root:admin.



[ Reply to This | # ]
Warning
Authored by: gommino_2000 on Oct 15, '03 04:04:58PM

The command I have supplied merely sets the group to 'staff'. It does not alter the permissions in any way at all. To do that you use the 'chmod' command. Also, the 'staff' group is the group that all users, whether admin or normal, are in. Admin users are also added to the 'admin' group.

Rob.



[ Reply to This | # ]