Please do not run with sudo

I tried to install MbedStudio on Ubuntu 20.04, while I typed:
sudo ./M*.sh
it was prompted:
Please do not use sudo
while, if I didn’t use sudo, it would prompted:
permission denied
and, I couldn’t manually created tmp folder.

How to fix these?

I fixed this error by selecting an installation directory under “/home/your-user-name”, it was needn’t permission here.

1 Like