LoginSignup
1
1

More than 5 years have passed since last update.

【システム環境設定を行っても解決しない方向け】MacOS Mojave で crontab -e できない

Last updated at Posted at 2018-11-05

背景

iTermから crontab -e を実行し、crontab設定を行っても以下のようなエラーが出続ける。

crontab: installing new crontab
crontab: tmp/tmp.7391: Operation not permitted
crontab: edits left in /tmp/crontab.bnGaalvOCm

原因が意外なところにあった。MacOS上の以下の設定を正しく行っても問題が解決しない人向けに。

  • システム環境設定
    • > "セキュリティとプライバシー"
      • > "アクセシビリティ"
      • > "フルディスクアクセス"

原因

僕の場合は上記を設定するだけではだめで、 TMUX を停止させることで解決した。
もし困っている人がいれば、一度 TMUX のプロセスをすべて停止した状態でお試しください。

環境

% sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14
BuildVersion:   18A391

% tmux -V
tmux 2.8

% date
月 11  5 22:40:36 JST 2018
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1