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:
Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user.
- I ran the terminal in sudo mode, that always works
- I added apps to full disk access that did not work either
Smayan Gupta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.