【Vscode】How to solve the problem when a file cannot be updated due to lack of permissions in vscode
When developing with vscode, I found a problem that I couldn't change it because I didn't have the permission of the file.
This problem can be solved by changing the permissions of the project user to yourself.
However, if you change the permissions of a file, when you are developing a team, you can end up pushing even the permissions of the file to git.
If this happens, you may be warned by the team.
So, it would be better if you change the permissions of your local project folder and at the same time ignore the push of file permission changes to git.
This way, files with changed permissions won't be published online.
$ sudo chown -R userName /Users/userName/projectName $ cd /Users/userName/projectName $ git config core.filemode false $ git config -l | grep filemode Verify that core.filemode = false
git config core.filemode is set to true by default, and if it's not set to false, it will automatically convert to 644 if the permissions are set to 755