Re: xterm operation not permitted
Re: xterm operation not permitted
- Subject: Re: xterm operation not permitted
- From: "Mike Thornburg \(mthorn\) via X11-users" <email@hidden>
- Date: Wed, 5 Feb 2020 19:36:31 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bPoBWKL9kd8igisjnz5/AE4sB+sJa1CJZfV+jaNoQ08=; b=JYIaMZ4Bq3LfcdBaxYRxRlRqJDp1uCueaogMo2GrLwF07rnwx4/lp2291D1SB1/E1AgCysaQBvRuqFiWZ/hbJXLF4tzDYUpQZ7oY3CcOApfKuX7Y4f0XA7ED9lCsmvrEQ8GEGOV+e5sVTTNqH5ngz8SH07Gzz34lZaXVc1cjPoAyNEda+LSXe4Hs3HWFUOJ8Cbe7LXFYKj9ASwI7uHklsg8Uwq53Ur61g0Y4w+OMPVDuFrnowDmd/LVc7swIPbuo1eyslMPVmyW/3YmBOHOrnJAKZATLLJ1hLdVnok/xkmXjAo+i+CAYU56aAj1j9KTLRN0f9Cf/obBMvcfuAyEnkA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cZD7KEekwM+1/94GtJuGk9MyT+xLGLRcA+HT5GsqQbgBpW9xK9d3K8BDlYNtprBLXlwkwjYEIF9zHxDa8tZQLn1nyAN5N4deeoA8kl+LQ9kpEMmNtKdBhoEbFqKkF39Sg16lMbqcQ8IDQsM72ftMsnsHtXrqij8/ws4kZQqU4PoSyy6LHZdYWRg6M4zbLd4GmkMs/mQdNwg2qS0vuPDaUq+NTPMa6zl1ITUD7uy07NVPCxzX6Gd0bNQ3elvUtPp1DvTtKhkX6jM7ZDlAEfSdY/MKIUMeJvGnzYI9iE5ftGQaG1TlT9LRjVK1u01iUlPNquNvDwtdngMQAkStar0YaA==
- Ironport-phdr: 9a23:4YUWVhNtf9XC0nb/ZJ8l6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEuKQ/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETBoZkYMTlg0kDtSCDBj+MP7tdSoSF8VZX1gj9Ha+YgBY
- Thread-topic: xterm operation not permitted
> On Feb 5, 2020, at 10:16 AM, Pascal Bourguignon via X11-users
> <email@hidden> wrote:
>
>> On 5 Feb 2020, at 17:10, Ben Kilminster via X11-users
>> <email@hidden> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden