> On Feb 5, 2020, at 10:16 AM, Pascal Bourguignon via X11-users 
> <x11-users@lists.apple.com> wrote:
> 
>> On 5 Feb 2020, at 17:10, Ben Kilminster via X11-users 
>> <x11-users@lists.apple.com> wrote:
>> 
>> Hello, 
>> 
>> I'm on a Mac  (Mac Catalina 10.15.2, XQuartz 2.7.11).
>> 
>> The problem is using the xterm provided by XQuartz, I no longer have 
>> permission to look in my directories :
>> Wed 16:59 [bjk] ls ~/Documents/
>> ls: : Operation not permitted
>> 
>> I found a solution recommended online, which is :
>> 1) System Preferences -> Security & Privacy -> Privacy -> "Full Disk Access" 
>> 2) Unlock then add "Applications/Utilities/XQuartz.app"
>> 3) Restart everything.
>> 
>> However, I still get the same error.  
>> 
>> The other "Terminal" program still works, so this is not fatal.  
>> But right now XQuartz is not usable for me.  Suggestions ?
>> 
>> Best,
>> Ben
>> 
>> p.s. Apologies if I am posting to the wrong forum or should have found the 
>> answer to this somewhere online. 
> 
> 
> 1- consider switching to Linux.
> 
> 2- Disable System Integrity Protection.
> 
> $ csrutil status
> System Integrity Protection status: disabled.
> 
> But this will probably not work anymore in future versions of macOS…  
> therefore consider switching to Linux.  Or FreeBSD or OpenBSD if you really 
> want.
> 
> Note: you will need to reboot in Recovery Mode to do that.
> 

I don't know if this workaround works on Catalina because I am still running 
Mohave, but 
I have found that if I enable my account for remote login, start an xterm, and 

   ssh my_user_id@localhost

from within the xterm I can access the locations (eg, ~/Library/Safari) that 
are protected by System Integrity 
Protection on Mohave without having to disable System Integrity Protection.  I 
don't know if it makes any 
difference here, but I have also given the Terminal.app Full Disk Access in the 
Security & Privacy preferences.

If you want to start other xclients from the remote login session you will need 
to do something to set up 
the DISPLAY environment variable properly in your new shell, but as far as I 
know once you do that everything 
works.

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to