Git Checkout warning: unable to unlink files, permission denied

后端 未结 26 1215
梦毁少年i
梦毁少年i 2020-12-04 08:46

I am aware that there are similar issues about git relating to the \'unable to unlink\' warning, but I have not been able to use them.

The main difference is that th

26条回答
  •  感动是毒
    2020-12-04 09:28

    I was having the issue with a default-settings.php file in drupal 7. In this case I wasn't able to delete it or revert it just like @rtconner said. I didn't have an application or anything using this file, and it ended up being a permissions error.

    I added chmod 777 * to the folder and then I was able to revert it no problem.

提交回复
热议问题