We know in OS X a local administrator also don't have the right to access other users' home folder, such as Desktop and Documents. If you try to click on them, you will see a red minus and it says you don't have permission to access it. There is another thread talking about going to "Get info" on the folder and change permission that way. But it doesn't change the sub folder. So I end up trying to use chmod -R command to change the permission on /users. However, I have two problems:
1. I don't know the correct syntax to use to just give Local Admin RW right using chmod command. It looks like I am giving everyone or domain admin the full access. I can't get this right.
2. Even you have given the full access to Local Admin to the /Users folder, when a new AD user logs in to the computer first time, his home folder will become unaccessible to Admin again. And I have to chmod again. Any other way to get this done besides setting this command as login policy? Somehow my MAC stucks at "Apply Policy" for minutes if there are any login policies.
Solved
Administrator access to /users folder
Best answer by tlarkin
If you log in as the root user you can have access to every folder. I have a small package I created that enables the root account when admins need access to student data. You can also look at the dsenableroot command as well, which essentially is what I used to create this policy.
By default root is disabled, if some student gets in trouble and some admin needs full access to their account I log them under root for full access.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
