|
|
Warning
The command presented in the hint will change the owner of your Home directory's folders to you, as it is by default.
However it will also change the owner of every file and folder within these folders. Unless you really are sure it's safe to do this, I would advise against performing such a radical change to your Home directory hierarchy. Some files in your Home directory hierarchy are owned by other users (system, admin) and they need to have that owner set to properly work. A much safer command to issue is the following that will only change the owner of those folders in your Home directory, leaving other files and folders within these folders untouched:
chown username /Users/username/*
Warning
Apparently this user had ALL of his files in his Home directory changed to be owned by root.
In this case, then the only way to work around this issue is to change the WHOLE Home directory hierarchy's owner so it is owned by you. The command to be issued is this case is:
sudo chown -R username /Users/username/*However, caution is advised.
Warning
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.
Warning
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?
Warning
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.
Warning
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. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.14 seconds |
|