Mac 10.11.5 (El Capitan) here. I just tried creating a directory under /opt
:
myUser$ mkdir /opt/bupo
mkdir: /opt/bupo: Permission denied
Why would I need to prefix this with sudo
and then authenticate myself in order for this command to work? If I were to use sudo mkdir /opt/bupo
, then what user would actually be creating + owning this bupo/
directory, would it be root
?