Today, I updated my Early 2015 MBP. When I fired up Terminal and tried running a few commands like ‘ls’, ‘pwd’, etc I was getting strange error ‘Operation not permitted.’ I looked for solutions on the internet and found a solution here. The step by step solution is as follows:
Steps:
- Close Terminal
- Open System Preferences
- Choose ‘Security & Privacy’
- Select Privacy Tab
- From Left side menu select ‘Full Disk Access’
- Click the ‘lock’ icon on the lower left part and authenticate the user with admin privileges
- Click the ‘+’ icon, an application chooser dialog box will open. Go to ‘Applications’->’Utitilites’ and Select Terminal
- Open the ‘Terminal’