Re: Operation not permitted

2019-10-17 Thread Douglas Berry via X11-users
I'm in the same boat.  I have added launchd_startx, ls, Xquartz, xterm, 
and my shell to full disk access, none helped.  Catalina, calamity.

___
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: Operation not permitted

2019-10-17 Thread JF Mezei via X11-users
Some time ago, in a newsgroud discussion, there was a discussion about
file access for line commands. I don't recall the specifics because
discussion quickly turned to insults,  but there are some under-the-hood
inheritances.

I am sticking to High Sierra, so not affected by this.

There is a process inheritance issue.

The "ls" (or any other) command is a subprocess created by bash (or
whatever shell you use such as sh).

But how bash/sh is created is not so clear.

Consider this:

from terminal.app window under GUI user ABC, you can issue the command:
xterm -e login &

an xterm window is created (assume under user ABC) with the login
process. That login process then creates a bash (or sh) process under
the user DEF. Does that process inherit any special attributes from ABC?

It isn't clear to me whom bash/ls inherit any special file access flags
from (since not clear to me at what level OS-X implemented these
restrictions).

 ___
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: Operation not permitted

2019-10-17 Thread JAMES R CUTLER via X11-users
Dave,

With a Finder window open, use the menu bar Go > Go to Folder… and enter the 
desired path, such as /opt.

James R. Cutler
james.cut...@consultant.com
GPG keys: hkps://hkps.pool.sks-keyservers.net



> On Oct 17, 2019, at 5:18 PM, David L Chopp  wrote:
> 
> I hadn’t tried that, but I have now. No luck, no change. I didn’t think of 
> trying Terminal because I normally use xterm through XQuartz. I tried adding 
> xterm to Full Disk Access, but the only way I could find to add it is through 
> a finder window and I don’t know how to navigate the finder into /opt where 
> the app is. Maybe there’s a command line way to add full disk access, but I 
> don’t know what that is. I’ll try digging around for that.
> 
> Dave
>  
> 
>> On Oct 17, 2019, at 4:08 PM, JAMES R CUTLER > > wrote:
>> 
>> Have you given Terminal.app full disk access? The failing command is a shell 
>> command.
>> 
>> James R. Cutler
>> james.cut...@consultant.com 
>> GPG keys: hkps://hkps.pool.sks-keyservers.net 
>> 
>> 
>> 
>>> On Oct 17, 2019, at 4:31 PM, David L Chopp via X11-users 
>>> mailto:x11-users@lists.apple.com>> wrote:
>>> 
>>> Hi everyone,
>>> 
>>> I upgraded to Catalina and now I’m getting “Operation not permitted” when 
>>> doing a simple “ls” command in my Desktop directory. Oddly enough, “ls" 
>>> works fine in my home directory, just not any directories below that. I 
>>> understand this is a casualty of the new SIP settings. I tried giving 
>>> XQuartz full disk access in the privacy settings, but that didn’t help. Any 
>>> ideas?
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> Pure mathematics is the world's best game.  It is more absorbing than 
>>> chess, more of a gamble than poker, and lasts longer than Monopoly.  It's 
>>> free.  It can be played anywhere - Archimedes did it in a bathtub.  
>>> ~Richard 
>>> J. Trudeau
>>> 
>>> 
>>> David Chopp
>>> Chair
>>> Engineering Sciences and Applied Mathematics
>>> Northwestern University
>>> E-mail: ch...@northwestern.edu 
>>> Phone: (847)-491-8391
>>> Fax: (847)-491-2178
>>> Homepage: http://people.esam.northwestern.edu/chopp 
>>> 
>>> 
>>> 
>>> ___
>>> 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/james.cutler%40mac.com 
>>> 
>>> 
>>> This email sent to james.cut...@mac.com 
>> 
> 
> 
> 
> Nature laughs at the difficulties of integration.  ~Pierre-Simon de Leplace
> 
> 
> David Chopp
> Chair
> Engineering Sciences and Applied Mathematics
> Northwestern University
> E-mail: ch...@northwestern.edu 
> Phone: (847)-491-8391
> Fax: (847)-491-2178
> Homepage: http://people.esam.northwestern.edu/chopp
> 
> 

 ___
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: Operation not permitted

2019-10-17 Thread Mike Thornburg (mthorn) via X11-users
There's a question on StackOverflow about giving some version of Emacs full 
disk access
that seems like it might be applicable here.  Among other things, it says you 
can add
programs from /usr/bin to Full Disk Access if you use Shift+Command+Period to 
make the
Finder display all hidden files.  You should be able to do the same thing to 
make /opt
visible.



Mike

> On Oct 17, 2019, at 2:49 PM, David L Chopp via X11-users 
>  wrote:
> 
> I don’t believe it will be required for each command. What I’ve found on the 
> web about this is focused on using Terminal.app and not XQuartz and that the 
> solution was to give Terminal.app Full Disk Access. So I figured giving 
> XQuartz the same access would do the trick, but it didn’t. Fortunately, I 
> mostly use XQuartz to access xwindows on remote machines, so I don’t have 
> problems doing that, just when I randomly want to do a file transfer I’m kind 
> of stuck.
> 
>> On Oct 17, 2019, at 4:33 PM, Ambrose LI  wrote:
>> 
>> Le jeu. 17 oct. 2019, à 17 h 19, David L Chopp via X11-users
>>  a écrit :
>>> 
>>> I hadn’t tried that, but I have now. No luck, no change. I didn’t think of 
>>> trying Terminal because I normally use xterm through XQuartz. I tried 
>>> adding xterm to Full Disk Access, but the only way I could find to add it 
>>> is through a finder window and I don’t know how to navigate the finder into 
>>> /opt where the app is. Maybe there’s a command line way to add full disk 
>>> access, but I don’t know what that is. I’ll try digging around for that.
>> 
>> I don’t have the new OS but could it be that you’ll actually need to
>> give ls full access? I don’t know how the new permission system works
>> but ls and the terminal (whether xterm or Terminal.app) are separate
>> programs.
>> 
>> (If this works that will be a nightmare for shell users since that
>> means every single command will need to be set up with additional
>> access...)
>> 
>> -- 
>> Ambrose Li // 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__o.gniw.ca=DwIFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=sjzaGtg7C2D6R0XvtC2BTUfH9cefWyJP0GWS3iqyL7w=Z_6zKbG0-Ql2mhs5S-7FHim9800LGH5mY_A4n2qbE_0=fbfK2Nn7bAyoHxuxIyf7VZB7dvmhkYC8LwbTtOfIB0Q=
>>   / 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__gniw.ca=DwIFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=sjzaGtg7C2D6R0XvtC2BTUfH9cefWyJP0GWS3iqyL7w=Z_6zKbG0-Ql2mhs5S-7FHim9800LGH5mY_A4n2qbE_0=Dv6nmJPLkfCkS7NJJkvWqm1XjBjDWxbfZoSsureP0nQ=
>>  
>> If you saw this on CE-L: You do not need my permission to quote
>> me, only proper attribution. Always cite your sources, even if
>> you have to anonymize and/or cite it as "personal communication".
> 
> 
> 
> God does not care about our mathematical difficulties; He integrates 
> empirically.  ~Albert Einstein
> 
> 
> David Chopp
> Chair
> Engineering Sciences and Applied Mathematics
> Northwestern University
> E-mail: ch...@northwestern.edu
> Phone: (847)-491-8391
> Fax: (847)-491-2178
> Homepage: http://people.esam.northwestern.edu/chopp
> 
> 
> ___
> 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/mthorn%40cisco.com
> 
> This email sent to mth...@cisco.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: Operation not permitted

2019-10-17 Thread David L Chopp via X11-users
I don’t believe it will be required for each command. What I’ve found on the 
web about this is focused on using Terminal.app and not XQuartz and that the 
solution was to give Terminal.app Full Disk Access. So I figured giving XQuartz 
the same access would do the trick, but it didn’t. Fortunately, I mostly use 
XQuartz to access xwindows on remote machines, so I don’t have problems doing 
that, just when I randomly want to do a file transfer I’m kind of stuck.

On Oct 17, 2019, at 4:33 PM, Ambrose LI 
mailto:ambrose...@gmail.com>> wrote:

Le jeu. 17 oct. 2019, à 17 h 19, David L Chopp via X11-users
mailto:x11-users@lists.apple.com>> a écrit :

I hadn’t tried that, but I have now. No luck, no change. I didn’t think of 
trying Terminal because I normally use xterm through XQuartz. I tried adding 
xterm to Full Disk Access, but the only way I could find to add it is through a 
finder window and I don’t know how to navigate the finder into /opt where the 
app is. Maybe there’s a command line way to add full disk access, but I don’t 
know what that is. I’ll try digging around for that.

I don’t have the new OS but could it be that you’ll actually need to
give ls full access? I don’t know how the new permission system works
but ls and the terminal (whether xterm or Terminal.app) are separate
programs.

(If this works that will be a nightmare for shell users since that
means every single command will need to be set up with additional
access...)

--
Ambrose Li // 
https://urldefense.proofpoint.com/v2/url?u=http-3A__o.gniw.ca=DwIFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=sjzaGtg7C2D6R0XvtC2BTUfH9cefWyJP0GWS3iqyL7w=Z_6zKbG0-Ql2mhs5S-7FHim9800LGH5mY_A4n2qbE_0=fbfK2Nn7bAyoHxuxIyf7VZB7dvmhkYC8LwbTtOfIB0Q=
  / 
https://urldefense.proofpoint.com/v2/url?u=http-3A__gniw.ca=DwIFaQ=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws=sjzaGtg7C2D6R0XvtC2BTUfH9cefWyJP0GWS3iqyL7w=Z_6zKbG0-Ql2mhs5S-7FHim9800LGH5mY_A4n2qbE_0=Dv6nmJPLkfCkS7NJJkvWqm1XjBjDWxbfZoSsureP0nQ=
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".



God does not care about our mathematical difficulties; He integrates
empirically.  ~Albert Einstein


David Chopp
Chair
Engineering Sciences and Applied Mathematics
Northwestern University
E-mail: ch...@northwestern.edu
Phone: (847)-491-8391
Fax: (847)-491-2178
Homepage: http://people.esam.northwestern.edu/chopp


 ___
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: Operation not permitted

2019-10-17 Thread Ambrose LI via X11-users
Le jeu. 17 oct. 2019, à 17 h 19, David L Chopp via X11-users
 a écrit :
>
> I hadn’t tried that, but I have now. No luck, no change. I didn’t think of 
> trying Terminal because I normally use xterm through XQuartz. I tried adding 
> xterm to Full Disk Access, but the only way I could find to add it is through 
> a finder window and I don’t know how to navigate the finder into /opt where 
> the app is. Maybe there’s a command line way to add full disk access, but I 
> don’t know what that is. I’ll try digging around for that.

I don’t have the new OS but could it be that you’ll actually need to
give ls full access? I don’t know how the new permission system works
but ls and the terminal (whether xterm or Terminal.app) are separate
programs.

(If this works that will be a nightmare for shell users since that
means every single command will need to be set up with additional
access...)

-- 
Ambrose Li // http://o.gniw.ca / http://gniw.ca
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".
 ___
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: Operation not permitted

2019-10-17 Thread JAMES R CUTLER via X11-users
Have you given Terminal.app full disk access? The failing command is a shell 
command.

James R. Cutler
james.cut...@consultant.com
GPG keys: hkps://hkps.pool.sks-keyservers.net



> On Oct 17, 2019, at 4:31 PM, David L Chopp via X11-users 
>  wrote:
> 
> Hi everyone,
> 
> I upgraded to Catalina and now I’m getting “Operation not permitted” when 
> doing a simple “ls” command in my Desktop directory. Oddly enough, “ls" works 
> fine in my home directory, just not any directories below that. I understand 
> this is a casualty of the new SIP settings. I tried giving XQuartz full disk 
> access in the privacy settings, but that didn’t help. Any ideas?
> 
> Dave
> 
> 
> 
> Pure mathematics is the world's best game.  It is more absorbing than 
> chess, more of a gamble than poker, and lasts longer than Monopoly.  It's 
> free.  It can be played anywhere - Archimedes did it in a bathtub.  ~Richard 
> J. Trudeau
> 
> 
> David Chopp
> Chair
> Engineering Sciences and Applied Mathematics
> Northwestern University
> E-mail: ch...@northwestern.edu 
> Phone: (847)-491-8391
> Fax: (847)-491-2178
> Homepage: http://people.esam.northwestern.edu/chopp
> 
> 
> ___
> 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/james.cutler%40mac.com
> 
> This email sent to james.cut...@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


Operation not permitted

2019-10-17 Thread David L Chopp via X11-users
Hi everyone,

I upgraded to Catalina and now I’m getting “Operation not permitted” when doing 
a simple “ls” command in my Desktop directory. Oddly enough, “ls" works fine in 
my home directory, just not any directories below that. I understand this is a 
casualty of the new SIP settings. I tried giving XQuartz full disk access in 
the privacy settings, but that didn’t help. Any ideas?

Dave



Pure mathematics is the world's best game.  It is more absorbing than
chess, more of a gamble than poker, and lasts longer than Monopoly.  It's
free.  It can be played anywhere - Archimedes did it in a bathtub.  ~Richard
J. Trudeau


David Chopp
Chair
Engineering Sciences and Applied Mathematics
Northwestern University
E-mail: ch...@northwestern.edu
Phone: (847)-491-8391
Fax: (847)-491-2178
Homepage: http://people.esam.northwestern.edu/chopp


 ___
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