问题描述 从github上git clone 下来之后进行更改的时候突然发现保存不了,出现如下问题: 解决办法 输入命令: root@xxx-virtual-machine:/home/xxx/code# sudo chown -R xxx:xxx . 注:xxx为用户名 效果 能够成功保存啦~