I am running macOS 10.14.5, iTerm2 build 3.2.8, tmux 2.9a (
I've granted both
Terminal.app (file permission:
.r-xr-xr-x) Full Disk Access (FDP) in Sys prefs > Security and Privacy > Privacy > Full Disk Access.
Now I am able to edit crontab using
crontab -e in iTerm2 if I am not attached to a tmux session.
But I still don't have the permission to edit crontab in tmux in iTerm2 (which I can in
Terminal.app) even if I use
sudo crontab -u username -e.
$ crontab -e crontab: installing new crontab crontab: tmp/tmp.43698: Operation not permitted crontab: edits left in /tmp/crontab.bytUnVCVVk
So is there anyway I can edit crontab in tmux in iTerm2?
Edit: Yes, granting FDP for
tmux is unnecessary.
Edit: Add the comparison between Terminal and iTerm2.