Help us understand the problem. What is going on with this article?

MacでOperation not permittedが出た時の対処法

More than 3 years have passed since last update.

/usr/binにファイルを移動しようと思っても,Operation not permittedでなかなか移動できない
なので,http://berukann.hatenablog.jp/entry/2015/12/30/123020 を参考にさせていただきました

移動できない原因

  • OS X 10.11 El Capitanより追加されたセキュリティ機能,SIP(System Integrity Protection)によってガードされている
  • /bin /sbin /System 配下で,ルートユーザでも書き込みできない

対処方法

  1. Macを再起動し,command + Rを押し続けてリカバリーモードにする
  2. 上のバーから,ターミナルより, コマンドを打ち込む
$ csrutil status

状態がenabledになっていると思う <- これが元凶

  1. 設定を変更し,再起動する
$ csrutil disable

$ reboot

これで,ファイルを移動できる

mym
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした