Skip to main content
added 1482 characters in body
Source Link
jksoegaard
  • 79.6k
  • 4
  • 133
  • 204

Open System Preferences and thenThis is caused by the Privacy & Securityfeatures introduced with macOS Mojava and expanded with macOS Catalina. ChooseEssentially apps are sandboxed and not allowed to access the Privacy tabfull disk, and then select Full Disk Access inunless you give them that permission.

You can give an application access to the menu onfull disk like this:

  • Open System Preferences
  • Click Privacy & Security
  • Choose the Privacy tab
  • Select Full Disk Access in the lift on the left
  • Click the lock in the bottom left corner to unlock
  • Drag the application into the list on the right

The next time you launch the leftapplication, it will have access to the full disk. Unlock in

The standard emacs supplied with the bottom left cornersystem is run through Terminal.app. If you're using emacs like this (with the system supplied or for example an installation from HomeBrew or MacPorts), and thenyou need to drag Terminal.app on to the list to give access.

If you're using a third party GUI-based Emacs, you'll need to drag the (or whatever terminal.app for that program on to the list.

Note that some Emacs "distributions" package together a number of Emacs binaries for various macOS versions in a single folder, and dynamically at runtime chooses the right one for your system. This means that the icon you use)click to start the program is really a "placeholder" that is not Emacs itself, but rather just starts up Emacs. This "placeholder" often takes the form of a Ruby script. If this is the case, you'll need to drag the Ruby program on to the list.

Ruby comes with macOS by default. You can find the program by opening Finder, and then from the "Go" menu choose "Go to Folder". Enter "/usr/bin" and you'll get that folder opened in Finder. In the folder, you'll find the ruby program that you can drag on to the Full Disk Access list.

Open System Preferences and then Privacy & Security. Choose the Privacy tab, and then select Full Disk Access in the menu on the left. Unlock in the bottom left corner, and then drag Terminal.app (or whatever terminal program you use) on to the list.

This is caused by the Privacy features introduced with macOS Mojava and expanded with macOS Catalina. Essentially apps are sandboxed and not allowed to access the full disk, unless you give them that permission.

You can give an application access to the full disk like this:

  • Open System Preferences
  • Click Privacy & Security
  • Choose the Privacy tab
  • Select Full Disk Access in the lift on the left
  • Click the lock in the bottom left corner to unlock
  • Drag the application into the list on the right

The next time you launch the application, it will have access to the full disk.

The standard emacs supplied with the system is run through Terminal.app. If you're using emacs like this (with the system supplied or for example an installation from HomeBrew or MacPorts), you need to drag Terminal.app on to the list to give access.

If you're using a third party GUI-based Emacs, you'll need to drag the .app for that program on to the list.

Note that some Emacs "distributions" package together a number of Emacs binaries for various macOS versions in a single folder, and dynamically at runtime chooses the right one for your system. This means that the icon you click to start the program is really a "placeholder" that is not Emacs itself, but rather just starts up Emacs. This "placeholder" often takes the form of a Ruby script. If this is the case, you'll need to drag the Ruby program on to the list.

Ruby comes with macOS by default. You can find the program by opening Finder, and then from the "Go" menu choose "Go to Folder". Enter "/usr/bin" and you'll get that folder opened in Finder. In the folder, you'll find the ruby program that you can drag on to the Full Disk Access list.

Source Link
jksoegaard
  • 79.6k
  • 4
  • 133
  • 204

Open System Preferences and then Privacy & Security. Choose the Privacy tab, and then select Full Disk Access in the menu on the left. Unlock in the bottom left corner, and then drag Terminal.app (or whatever terminal program you use) on to the list.