mac terminal ls operation not permitted
1. Pull down the Apple menu and choose ‘System Preferences’
2. Go to “Security & Privacy” control panel
3. Select the “Privacy” tab, from the left-side menu select “Full Disk Access”
4. Click the lock icon in the lower left corner and unlock with your auth
5. Click the [+], search for "terminal" and add it.