13 Jan

Hard drive appears as locked on Mac

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:

  1. Press cmd + Space to bring up a search.
  2. Type Terminal and press Enter.
  3. 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”.
  4. 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.
  5. Now type in the following and press Enter:
    sudo chmod 1775 /Volumes/Drive_Name
  6. The lock should now be removed. Do this for every drive that appears as locked.
  7. Find your home folder and right click it, then select Get Info.
  8. Look under the Sharing & Permissions section. If the padlock is locked then click it, enter your password if you have one and click OK.
  9. Click the + button, click on your username and click Select.
  10. Click on your name in the list.
  11. Click the cog like icon, then click Make (Me) the owner.
  12. Click the cog like icon, then click “Apply to enclosed items”.
  13. You will be asked “Are you sure…”. Click OK to confirm.
  14. Once done, click the padlock to lock the changes.
  1. Open Terminal.
  2. Put in the following (depending on the name of the drive):
    sudo chflags nouchg /Volumes/Drive_Name
    sudo chmod 1775 /Volumes/Drive_Name
  3. Make your current user account the owner of your home folder.

10 Responses to Hard drive appears as locked on Mac

  1. Worked great! Thanks!!!

  2. 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!!!!!

  3. 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.

  4. You are the best!!! Thanks a lot!

  5. Great fix, thanks

  6. follow the step untill step4 can’t continue…original don’t have password. key anyone also no use. Please give advise immediately, tq.

  7. Thank you very much! I’m releaved…

  8. 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

  9. Thanks <3
    Your answer is very useful.
    You're a lifesaver.

Leave a Reply