如何修复 TextMate 中捆绑包或 Subversion 的权限?
当我尝试使用 GetBundles
更新我的 TextMate
捆绑包时,会出现“正在解析本地捆绑包”,并且进度轮会无休止地旋转(例如 >20 分钟)。阅读 GetBundles
的帮助手册表明这可能是权限错误。
与此一致,在命令行中输入此问题中的命令( How to update GetBundles在 TextMate? 中),
cd ~/Library/Application Support/TextMate/Bundles/
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
产生以下响应:
Can't make directory 'GetBundles.tmbundle': Permission denied
如果这是我的问题,我可以以某种方式修复权限,以使 GetBundles
正常工作吗?谢谢!
更新:我的用户用户库和更高级别的库中似乎都有 TextMate/Bundles/
。这可能是我的问题吗?如果是这样,我应该如何解决它?
When I try to use GetBundles
to update my TextMate
bundles, "Parsing Local Bundles" appears and the progress wheel spins endlessly (e.g. >20 minutes). Reading the Help manual for GetBundles
suggests that this might be a permissions error.
In line with this, typing at the command line the commands from this question ( How to update GetBundles in TextMate? ),
cd ~/Library/Application Support/TextMate/Bundles/
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
produces this response:
Can't make directory 'GetBundles.tmbundle': Permission denied
Can I fix permissions somehow, to make GetBundles
work properly, if that's my problem? Thanks!
update: I seem to have TextMate/Bundles/
in both my user user Library and the higher level Library. Could that be my problem? And if so, how should I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
原始回复:
您需要从
GetBundles.tmbundle/
中删除尾部斜杠,以便它读起来像一个文件而不是目录:GetBundles.tmbundle
<- 不正确(我误解了问题 -抱歉)更新:
我认为错误(无论如何在上面输入的命令中)是空格需要转义或者路径需要在“cd”命令中引用。因此,从新的终端会话(即从您的用户主目录)尝试引用路径:
然后
尝试一下,并在此处发布确切的终端读数...
ORIGINAL RESPONSE:
You need to remove the trailing slash from
GetBundles.tmbundle/
so it reads like a file and not a directory:GetBundles.tmbundle
<- incorrect (I misunderstood the question - apologies)UPDATE:
I think the mistake (in your command as typed above anyway) is that spaces need escaping or the path needs quoting in your 'cd' command. So, from a fresh Terminal session (i.e. from your user Home directory) try quoting the path:
then
Try that, and post the exact terminal readout here...