[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsformacos: cannot access mac folders: Documents/Downloads
From: |
Daniel Martín |
Subject: |
Re: emacsformacos: cannot access mac folders: Documents/Downloads |
Date: |
Sat, 27 Mar 2021 03:25:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) |
Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
>
> This is sort of absurd, using the compiled emacsformacox I cannot access
> the Mac specific folders such as Documents, Downloads, while I can
> access the files inside these folders.
>
> However this does not happen with the version I compiled from master.
>
> What is the reason for this behaviour and how can I solve it?
>
The reason is a security protection in recent versions of macOS where
you need to grant explicit permission to applications if you want them
to access your personal folders. Go to System Preferences, Security &
Privacy, Privacy, Full Disk Access. Note that the Emacs launcher on
macOS is actually a Ruby script, so you'd need to add /usr/bin/ruby
there.