How to fix vagrant error “tee: /etc/exports: Operation not permitted”

Also, how to fix “nfsd service does not appear to be running”

This solution is for Mac users only – thanks CW.

Short answer:

  1. Open “System Settings”
  2. Unlock padlock
  3. Select “Full Disk Access”
  4. Add “Terminal” (or whatever you use)
  5. Close padlock
  6. Restart Terminal (if open)