Mac folder access permission denied
I’m a new Mac user who recently got a Macbook Air M3. I am a developer and am trying to setup flutter (and a few other sdks) on my laptop. No matter what command i run it shows the same error: Permission denied you do not have access to read/ write these files. I am the admin on this laptop and every command I have been able to run has been by using the sudo command. I added my terminal and VS Code to full disk access, but I still can’t seem to solve this problem Most of my extensions on VS Code are not working since they require access to these SDKs directories. Is there something I need to change or edit?
I know i can run sudo for these operations but surely running it everytime for everything should be a solution. Can i change a setting to give me access completely?
Here is a snippet of the error I usually get: