Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how to take ownership of a folder

I am going back and reviving an old NAS that I used to use. It is a WDC Worldbook edition. The problem I have is that I previously set up several folders with ownership permissions and I have no clue what the logon info is. Is there a way to forcefully take up ownership of those folders so that I may access the contents again?

iMac, OS X Mountain Lion (10.8.2)

Posted on Jan 20, 2013 9:42 PM

Reply
5 replies

Jan 29, 2013 12:38 PM in response to joshua173

Use Terminal to change the ownership of the drive. Type 'man chown' (without quotes) into Termimal for the full manual on chown. I'm in the same boat now, I'm just learning the correct syntax to invoke the command without doing more damage, so I can't help more beyond that. But that is defintely the way to go.


You may have to invoke the Super User before you can use chown. To do that you will need to type 'sudo' (without quotes) and enter your Admin User password to proceed. Again, type 'man sudo' to get the full manual in Terminal


HTH, good luck

Jan 29, 2013 1:06 PM in response to joshua173

The proper syntax to change permissions is:


sudo chown -R [username]:[group] [file\folder name]


For example:


sudo chown -R example:staff ~\Downloads


I've had to change permission settings before, so hope is not lost.


And to change it so that you can read/write the data:


sudo chmod -R 755 ~\Downloads, or whatever the directory is.


Good luck to you!

Jan 31, 2013 5:06 PM in response to iTechGuy

I have always known just enough about terminal to make me dangerous, and more often than not. . . . useless. I navigated with finder to the folder I want to change, used cmd-I to get the correct pathname but terminal didn't seem to like that. I used cd afp://MyBookWorld._afpovertcp._tcp.local/Public How do I access the NAS directory with terminal?

how to take ownership of a folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.