OS LION + Logged As ROOT + Viewing Hidden Folders

Threat7

Registered
I know that most have come across the "Hidden User Library Folders" in Lion. I have a related question:
I am logged as root and wanting to view my sub user's Library folder. Anybody have a Terminal command or "tip" on this?
Thanks
 
Logged in as the user whose Library folder you want to see, the GO menu in finder displays an item for it when you hold the option key. If you want to view it for another user then you can 'unhide' it in Terminal as root using
Code:
chflags nohidden /Users/*username*/Library/
It can be reversed by using 'hidden' in place of 'nohidden'
 
You can also use that cmd in the terminal :

chmod 0777 Library

From the session you want to see the library.
Then you go to your proper session and, magic ! You can see the user's Library.
 
Back
Top