macos svn:无法打开文件“.svn/lock”:MAC 上的权限被拒绝

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4617611/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 07:33:44  来源:igfitidea点击:

svn: Can't open file '.svn/lock': Permission denied on MAc

svnmacos

提问by Federer

I can't make this go away and I've tried everything. I don't really care how horrible and hacky the answer is, I just want it to go away. Can anyone help? Thanks.

我不能让它消失,我已经尝试了一切。我真的不在乎答案是多么可怕和骇人听闻,我只是想让它消失。任何人都可以帮忙吗?谢谢。

EDIT:

编辑:

I'm trying to basic commands, i.e.

我正在尝试基本命令,即

cd MyDirectory/
svn update

回答by chris

You might not have write permission on the directory

您可能没有目录的写权限

sudo chown -R $(id -u):$(id -g) MyDirectory
chmod -R u+w MyDirectory