How to make a folder in the volumes folder.

Make folder in the volumes folder on MacOS.

I want to use a folder in Visual Studio Code but not expose the full path (including username) in my online tutorials.

I will make a folder in /Volumes.

mkdir tutorial

And give it execute/read/write privileges:

chmod 777 tutorial

/Volumes list:

lrwxr-xr-x   1 root  wheel    1 Aug  2 21:33 Macintosh HD -> /
drwxrwxrwx   4 root  wheel  128 Aug 23 08:15 tutorial

If you get error 'Permission denied', you might have to use sudo. Do it on your own risk!

Written by Loek van den Ouweland on 2024-08-23.
Questions regarding this artice? You can send them to the address below.