MAC OSX El Capitan: Airport Sym link not permitted
Asked Answered
A

1

22

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.

Ardis answered 19/10, 2015 at 20:37 Comment(1)
I made an alias of the path, to resolve the issue. I am mainly asking out of curiosity.Ardis
T
52

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
Toback answered 21/10, 2015 at 12:32 Comment(1)
Worked for me :DQuadruplex

© 2022 - 2024 — McMap. All rights reserved.