Re: AW: Re: permissions to /bin/sh

2017-08-25 Thread Kirk Wolf
See the write up on _BPX_SHAREAS in BPX1SPN and how _BPX_SHAREAS=YES/MUST affects local spawn with the sticky bit is set. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Aug 25, 2017 at 12:52 AM, Peter Hunkeler wrote: > >on z/OS the sticky bit on an executable file affects how a

AW: Re: AW: Re: permissions to /bin/sh

2017-08-24 Thread Peter Hunkeler
>on z/OS the sticky bit on an executable file affects how a spawn() and >_BPX_SHAREAS works. It mainly affects where the loader starts looking for the program to be loaded, namely LPA. Its a performance thing in the first place. Then, for some reason unknown to me, IBM had to decide that such

Re: AW: Re: permissions to /bin/sh

2017-08-24 Thread Kirk Wolf
on z/OS the sticky bit on an executable file affects how a spawn() and _BPX_SHAREAS works. Its kind of a hack (mess). Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Aug 24, 2017 at 12:06 AM, Peter Hunkeler wrote: > >1. The problem with IDz was real and solved by change the permi

AW: Re: AW: Re: permissions to /bin/sh

2017-08-23 Thread Peter Hunkeler
>1. The problem with IDz was real and solved by change the permissions. To me this is not a solution rather a circumvention to the real problem. No process should recognize the difference in calling, i.e. fork()/exec() or spawn(), a UNIX binary having or not having the sticky bit set. If iDZ

Re: AW: Re: permissions to /bin/sh

2017-08-23 Thread R.S.
W dniu 2017-08-23 o 12:52, Peter Hunkeler pisze: A little bit of explanations. I asked the question, because I found discrepancy in the permissions. Who, how, when, and why changed the permissions - I don't know, that's another story. However the system seemed to work properly with r-x on /bin/

AW: Re: permissions to /bin/sh

2017-08-23 Thread Peter Hunkeler
>A little bit of explanations. I asked the question, because I found discrepancy in the permissions. Who, how, when, and why changed the permissions - I don't know, that's another story. However the system seemed to work properly with r-x on /bin/sh. The problem occured during installation of some

AW: Re: permissions to /bin/sh

2017-08-22 Thread Peter Hunkeler
>Admittedly, I have not tried turning off the Sticky Bit in order to execute >file sh in the /bin directory, so perhaps it would still function properly. Sure it will, at least as long as the file /bin/sh is the real shell binary, aka load module. It's a performance penalty, only, since the shel

AW: Re: permissions to /bin/sh

2017-08-21 Thread Peter Hunkeler
1755, the shell has the sticky bit set by IBM's installation default. -- Peter Hunkeler Von: ITschak Mugzach An: IBM-MAIN@LISTSERV.UA.EDU Betreff: Re: permissions to /bin/sh Datum: 21.08.17, 11:34 0755 or less בתאריך 21 באוג 2017 11:12,‏ "R.S." כתב: > What is de