Problem
When trying to access a hard drive you notice that it’s icon has a locked padlock on it.
Right clicking the drive and selecting ‘Get Info’ displays the permissions as Custom. Attempting to change them may have no effect.
Solution
Choose a solution by selecting a tab below:
Step By Step
- Press cmd + Space to bring up a search.
- Type Terminal and press Enter.
- In Terminal, type in the following (depending on your drive name) and press Enter:
“sudo chflags nouchg /Volumes/Drive_Name”
If your drive name has a space in it then you will need to type a space as “\ ”
For example: “/Volumes/Drive\ Name”. - You will need to enter your password and press Enter.
- It won’t show any characters when you type.
- If you do not have a password then set one first.
- Now type in the following and press Enter:
sudo chmod 1775 /Volumes/Drive_Name - The lock should now be removed. Do this for every drive that appears as locked.
- Find your home folder and right click it, then select Get Info.
- Look under the Sharing & Permissions section. If the padlock is locked then click it, enter your password if you have one and click OK.
- Click the + button, click on your username and click Select.
- Click on your name in the list.
- Click the cog like icon, then click Make (Me) the owner.
- Click the cog like icon, then click “Apply to enclosed items”.
- You will be asked “Are you sure…”. Click OK to confirm.
- Once done, click the padlock to lock the changes.
Advanced
- Open Terminal.
- Put in the following (depending on the name of the drive):
sudo chflags nouchg /Volumes/Drive_Name
sudo chmod 1775 /Volumes/Drive_Name - Make your current user account the owner of your home folder.
Worked great! Thanks!!!
SOOOO glad I found this!
The “tech” at my local Mac store simply said “Dunno, I guess you’ll have to format it and re-load everything from a backup”.
Thank you!!!!!
THANK YOU!!
I’ve been hosing around for two days trying to get back into a 6T raid array with my companies info on it.
You saved my butt.
You are the best!!! Thanks a lot!
Great fix, thanks
follow the step untill step4 can’t continue…original don’t have password. key anyone also no use. Please give advise immediately, tq.
Thank you very much! I’m releaved…
after i typed ‘sudo chmod 1775’ it says:
chmod: Unable to change file mode on /Volumes/HD: Read-only file system
any idea how to fix this? thanks in advance
Same here…
What’s our next move?
Same 🙁
Thanks <3
Your answer is very useful.
You're a lifesaver.
thank you so mach
Brilliant but make sure to leave a space before the forward slash or it won’t work. Thanks a million. Any terminal commands to get my hair back?!
Hooray, it worked!
Did the work for me, thanks
HAIR PROBLEM-shave head lol