MAC OSX El Capitan:不允许使用机场符号链接 [英] MAC OSX El Capitan: Airport Sym link not permitted

查看:65
本文介绍了MAC OSX El Capitan:不允许使用机场符号链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用以下命令在 MAC OS X El Capitan 中创建到 airport 命令的符号链接:

I tried making a symbolic link to the airport command in MAC OS X El Capitan, using the command:

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

它返回了以下错误:

ln: /usr/sbin/airport: Operation not permitted

这是因为 El Capitan 的无根"功能吗?符号链接在 MAC OS X Yosemite 中运行良好.

Is this due to the El Capitan's "rootless" feature? The sym link worked fine in MAC OS X Yosemite.

推荐答案

目标目录应该是/usr/local/bin/airport

请参阅关于系统完整性保护的文章,了解有关目录更改原因的更多信息.

See the article on System Integrity Protection for more information as to why the directories have changed.

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport

这篇关于MAC OSX El Capitan:不允许使用机场符号链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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