I'm in a right pickle - unhiding a volume

I wanted to test hiding an external volume and used the following command in Terminal;


chflags hidden /Volumes/volumename


I then tried to undide it using;


chflags unhidden /Volumes/volumename


The volume did not reappear in my finder window.


I then tried;


sudo SetFile -a V /Volumes/"Drive Name"


and I was then prompted for a password.

For a while, I was repeatedly entering the external drive password and it was never accepted.

I then found out that the password is my computer username password, but also, that I had to register that in Terminal first. I did that but I am still unable to unhide my external drive.


Can anyone suggest what I can do?

iMac 27″, macOS 10.13

Posted on Jun 13, 2021 9:07 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 13, 2021 12:44 PM

OK, I found the solution.

The command to unhide is not unhidden - it is nohidden.


Got my volume back!

Similar questions

6 replies

Jun 13, 2021 12:13 PM in response to Magsolo

From my notes...


Open Terminal & paste this in, spaces are important...


chown root /Volumes/


chmod 1777 /Volumes/


then right after the last / of each line, carefully type the name of that external volume, & if it has spaces in it enclose the name in quote marks.


See this User Tip by Niel: I accidentally set a disk's permissions to No Access ...

If the disk in question is your Mac OS X startup disk and your computer stops starting up at the blue screen, restart with the Command and S keys held down, and enter the following commands:


mount -uw /

chown root /

chmod 1775 /

exit

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I'm in a right pickle - unhiding a volume

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