EACCES: permission denied in VS Code MAC

前端 未结 11 660
我寻月下人不归
我寻月下人不归 2021-01-31 02:20

When I change any file, the system will deny me access. What\'s going on? How do I properly set permissions on Mac?

11条回答
  •  遥遥无期
    2021-01-31 02:28

    If you want to fix permissions for the current user use sudo chown -R $(whoami) ~/.vscode/.

    • $(whoami) is a variable with the current user that's logged in
    • ~ is a shorthand for the home directory of the current user

提交回复
热议问题