0

I am trying to debug a node program using the Chrome inspector. When I try to add the folder the program is in ( which is in /opt/lampp/htdocs/nodestuff ) to the workspace, I receive a "permission denied" notice.

It's my understanding that changing the permissions of the /opt folder is A Very Bad Thing . Any suggestions on the best practices for this situation?

I am using Chromium, which I installed through the Ubuntu Software app.

JoeMac
  • 1
  • 1
  • Are you using a snap version of Chrome, or a `.deb`-installed version? – matigo Jun 30 '21 at 02:30
  • @matigo : I believe it's the snap version, I installed it through the Ubuntu Software app. – JoeMac Jul 07 '21 at 00:30
  • Snap applications are generally sandboxed with limited access to your home directory. As `/opt` is very much outside of `~`, there will be visibility problems. The simplest way to resolve this would be to install the `.deb` version of Chrome or — believe it or not — the `.deb` version of Edge, which is actually pretty decent on Ubuntu and is built on Chromium. – matigo Jul 07 '21 at 00:38

0 Answers0