本文介绍了ln:/usr/lib/libssl.dylib:不允许操作OSX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建到/usr/lib的符号链接,但是我似乎没有权限,它包含在root中.系统返回不允许进行该操作.

我在优胜美地工作得很好,但在El Capitan上却失败了:/

有人知道我能做什么吗?

解决方案

我相信使用Sublime文本3的链接subl命令时会遇到一些问题.

显然,usr/local上没有相同的控件.因此,而不是

  ln -s"/应用程序/Sublime Text.app/Contents/SharedSupport/bin/subl"〜/bin/subl 

按照Sublime文档的建议

更多的是:

  ln -s"/应用程序/Sublime Text.app/Contents/SharedSupport/bin/subl" usr/local/bin/subl 

I'm trying to create a symbolic link to /usr/lib but I seems I have not permission, included with root. The system is return that the operations is not permitted.

With Yosemite I worked fine, but with El Capitan it broke :/

Anyone know what I can do?

解决方案

I had some issues using the linked subl command for Sublime text 3. It was the same issue you encountered, I believe.

Apparently, usr/local does not have the same controls on it. So instead of

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

as recommended by Sublime docs,

it was more along the lines of:

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" usr/local/bin/subl

这篇关于ln:/usr/lib/libssl.dylib:不允许操作OSX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 11:32