无法创建文件...权限被拒绝 [英] unable to create file ... Permission denied

查看:291
本文介绍了无法创建文件...权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有时当我尝试时我遇到问题:

  git checkout origin develop 

我有这个错误:
错误:无法创建文件....:Permission denied

git status显示错误的文件,因此我必须提交



我需要检查什么?



我试图在我的电脑上执行此命令行:

  chown -R username directory 

我们有几个人在git仓库上工作,他们也有这个问题。



感谢您的帮助

解决方案

在我的情况下,我的角度应用程序仍然从 ng serve 运行,给出这个:



[



所以我只好用 ctrl + c 来关闭它。


i am currently working on windows.

Sometimes i have problems when i try :

git checkout origin develop

i have this error : error: unable to create file .... : Permission denied

"git status" show me the file in error not staged so i have to commit

What do i have to check ?

i tried to do this command line on my computer :

chown -R username directory

We are severals people to work on a git repository and they have the problem too.

thanks for you help

解决方案

In my case, my angular app was still running from ng serve, giving this:

[

So I just had to close it with ctrl+c.

这篇关于无法创建文件...权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆