Git给了我一个“权限被拒绝"提示.写入我要提取的文件时出错 [英] Git gives me a "Permission Denied" error when writing files that I am pulling

查看:162
本文介绍了Git给了我一个“权限被拒绝"提示.写入我要提取的文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows计算机上,当我拉回购代码时,我得到:

On my Windows machine, when I pull my repo I get:

error: unable to crate file <path to file> (Permission denied)

我认为问题可能在于,当我查看文件夹的属性时,复选框内有一个正方形,我将其清除,以使文件或文件夹都不是只读的.

I think the problem might be that when I look at the properties of the folder there is a square inside the checkbox, I clear it out so that no files or folders will be read only.

按ok并检查Windows是否应用了我的更改后,我又看到了正方形!

After pressing ok and checking to see if Windows applied my changes, I see the square again!

如何获取Git或Windows以允许我提交提交?

How can I get Git or Windows to allow me to get my commits?

推荐答案

使用Run As Administrator

这篇关于Git给了我一个“权限被拒绝"提示.写入我要提取的文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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