When I change any file, the system will deny me access. What\'s going on? How do I properly set permissions on Mac?
It is generally not a good idea to run VS Code as sudo. Instead change the permission for the directory.
You can change the ownership of the directory so that you can open it without needing root privileges.
$ sudo chown -R