Re: xterm operation not permitted
Hi, I found a solution that worked, which was recommended on the "macOS Catalina" forum at discussions.apple.com : https://discussions.apple.com/thread/251027260?answerId=252097327022 The solution is to give "Full Disk Access" to /bin/bash. [1] But I don't know why it works, since I in fact use tcsh, and neither does the person who offered the solution. [1] /bin is hidden to us by OS X, so one needs to navigate to "Macintosh HD" and then type "command+shift" plus the " . " symbol to make the directory visible. Best, Ben > On Feb 5, 2020, at 5:10 PM, Ben Kilminster > 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. > > > > > > ___ 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
Re: xterm operation not permitted
Hi John, There is no "XTerm" app visible anywhere. Best, Ben > On Feb 5, 2020, at 9:51 PM, John Francini wrote: > > Another thing to try. > > Follow the steps you did earlier for adding XQuartz but instead add the XTerm > app. The difference here is that you are adding the app that actually owns > the child processes - which isn't XQuartz, but is XTerm. > > Just my $0.02. > > John > > > >> On 5 Feb 2020, at 14:36, Mike Thornburg (mthorn) via X11-users >> mailto:x11-users@lists.apple.com>> wrote: >> >>> >>> On Feb 5, 2020, at 10:16 AM, Pascal Bourguignon via X11-users >>> mailto:x11-users@lists.apple.com>> wrote: >>> >>>> On 5 Feb 2020, at 17:10, Ben Kilminster via X11-users >>>> mailto: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 >> <mailto:X11-users@lists.apple.com>) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/x11-users/francini%40mac.com >> <https://lists.apple.com/mailman/options/x11-users/francini%40mac.com> >> >> This email sent to franc...@mac.com <mailto:franc...@mac.com> ___ 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
Re: xterm operation not permitted
> On Feb 5, 2020, at 7:30 PM, Fco. Javier Modrego via X11-users > wrote: > > Reinstall xquartz by first uninstalling it completely. > > https://discussions.apple.com/thread/250731310 > > http://information-technology.web.cern.ch/services/fe/mac-support/howto/about-macos-1015-catalina > > Bets, > FJM > ___ > 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/ben.kilminster%40physik.uzh.ch > > This email sent to ben.kilmins...@physik.uzh.ch > Dear FJM, This did not work. I did a complete uninstall (using AppCleaner, which does a thorough job) and re-installed. Thanks, Ben ___ 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
Re: xterm operation not permitted
> On 2020-02-05 16:10, Ben Kilminster via X11-users 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 ? > > It look like you are either not *who* you think you are or not *where* you > think you are. > > In both of a fresh Terminal and a fresh xterm, do: > > $ pwd > $ id > $ echo $0 > $ echo $SHELL > $ echo ~ > $ echo $HOME > > They should match between the Terminal and xterm environments. > > Whichever terminal (lower 't') you use it's the shell that does the work not > the terminal. > > David > Hello David, Unfortunately, both agree. There are plenty of other ideas though, and I will go through them all. XQuartz xterm : Fri 9:37 [bjk] pwd /Users/bjk Fri 9:37 [bjk] id uid=501(bjk) ... Fri 9:37 [bjk] echo $0 tcsh Fri 9:38 [bjk] echo $SHELL /bin/tcsh Fri 9:38 [bjk] echo ~ /Users/bjk Fri 9:38 [bjk] echo $HOME /Users/bjk Terminal : Fri 9:37 [bjk] pwd /Users/bjk Fri 9:38 [bjk] id uid=501(bjk) Fri 9:38 [bjk] echo $0 -tcsh Fri 9:38 [bjk] echo $SHELL /bin/tcsh Fri 9:38 [bjk] echo ~ /Users/bjk Fri 9:38 [bjk] echo $HOME /Users/bjk Fri 9:38 [bjk] Best, Ben ___ 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
xterm operation not permitted
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. ___ 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