Xakriel's Tech Support Blog

Locked Drives on Mac formatted with HFS+

Posted in Macintosh by xakriel on November 22, 2010

I had two drives that were locked today. They showed a pretty little lock in the right hand corner of the drive. But, this wasn’t so pretty when you went to double click on the Volume and got the error message “The folder VOUMENAME can’t be opened because you don’t have permission to see its contents” (VOLUMENAME was the name of the volume.)

From here: http://www.westwind.com/reference/os-x/commandline/files-folders.html
I learned about chflags.

I needed the command “sudo chflags nouchg /Volumes/VOLUMENAME” without the quotes where VOLUMENAME was the name of the locked Volume.

But all is was not well yet. I still got the error message “The folder VOUMENAME can’t be opened because you don’t have permission to see its contents” when I double-clicked on the volume.

I noticed (with “ls -la”) that the permissions on the volume were 555, which no surprise here made it look like the drive was inaccessible.

I needed to “sudo chmod 775 /Volumes/VOLUMENAME” without the quotes where VOLUMENAME was the name of the locked Volume.

This solution worked so that the drive is now read-write and executable for the owners and group.

If you would like more information about chmod, check out this link:
http://www.albany.edu/faculty/gms/homepage101/unix_permissions.html