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/sh. The problem occured during installation of some IBM product,
part of IDz (former RDz - Rational Developer for System z). Change to
r-t fixed the problem.
Not sure what the problem was that you encountered. However, it seems to me
that some part of your installation had not been done properly or completely.
The shell is installed into LPA *and* into the /bin path of your version root
file system. without the sticky bit, the version from the /bin directory is
always used. The LPA version is not relevant. With the sticky bit, the LPA
version is always used, and the version in /bin is not relevant. Except when
the shell is not found in LPA, then the loader goes back and loads it from the
/bin directory.
I cannot say how a version discrepancy could cause troubles, but the same issue
might exist with other sticky bit UNIX binaries, and the corresponding load
module.
As a side note: Other permission r-x is exactly the same as r-t from a
permission point of view. The lower case t means x permission and sticky bit is
set. Its kind of as overpunching on punch cards. The sticky bit is show in the
same position as the execute permission. Sticky and no execute permission is
shown as T, sticky and execute permission is shown as t. No sticky bit but
execute permission is shown as x.
Similarly, the Set-UID-bit and Set-Gid-bit are "overpunched" over the x
position in the Owner, and Groups parts, resp. Shown as S or s, depending on whether
execute permission is also present or not.
Peter,
1. The problem with IDz was real and solved by change the permissions.
The system originally was created properly, including permissions to
/bin/sh - that's I'm sure, because I have an access to the "source
image" of cloned system having the problem.
2. Do not take "permissions" word so literally. We're aware the "t" is
just kind of brevity, an equivalent of "x + sticky". It's better visible
in octal form, but 4-digit. From the other hand octal "5" is not
intuitive as "r-x".
Regards
--
Radoslaw Skorupka
Lodz, Poland
======================================================================
--
Treść tej wiadomości może zawierać informacje prawnie chronione Banku
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.
This e-mail may contain legally privileged information of the Bank and is
intended solely for business use of the addressee. This e-mail may only be
received by the addressee and may not be disclosed to any third parties. If you
are not the intended addressee of this e-mail or the employee authorized to
forward it to the addressee, be advised that any dissemination, copying,
distribution or any other similar activity is legally prohibited and may be
punishable. If you received this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software and delete
permanently this e-mail including any copies of it either printed or saved to
hard drive.
mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa,
www.mBank.pl, e-mail: kont...@mbank.plsąd Rejonowy dla m. st. Warszawy XII
Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców
KRS 0000025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2016 r. kapitał
zakładowy mBanku S.A. (w całości wpłacony) wynosi 168.955.696 złotych.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN