MAC OSX El Capitan: Airport Sym link not permitted

心已入冬 提交于 2019-12-03 04:18:57

问题


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

It returned the following error:

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

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


回答1:


The target directory should be /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


来源:https://stackoverflow.com/questions/33223457/mac-osx-el-capitan-airport-sym-link-not-permitted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!