Sorry, red herring then, I thought that this was the gotcha with Catalina. D
> On 28 Jul 2020, at 13:31, René J.V. Bertin <[email protected]> wrote: > >> Sorry, what OS are you running? > > 10.9.5, sorry, I thought I had mentioned that. > > ``` > %> cat /Applications/Utilities/XQuartz.app/Contents/MacOS/X11 > #!/bin/bash > > set "$(dirname "$0")"/X11.bin "${@}" > > if [ -x ~/.x11run ]; then > exec ~/.x11run "${@}" > fi > > case $(basename "${SHELL}") in > bash) exec -l "${SHELL}" --login -c 'exec "${@}"' - "${@}" ;; > ksh|sh|zsh) exec -l "${SHELL}" -c 'exec "${@}"' - "${@}" ;; > csh|tcsh) exec -l "${SHELL}" -c 'exec $argv:q' "${@}" ;; > es|rc) exec -l "${SHELL}" -l -c 'exec $*' "${@}" ;; > *) exec "${@}" ;; > esac > ``` > > The script is indeed executed by bash, which then overlays itself by the > user's shell. Isn't /bin/sh a symlink or hardlink to /bin/bash on later OS > versions, and wouldn't any restrictions applied to bash apply to almost > anything (because afaik /bin/sh can hardly be avoided when spawning > executables)? > > Until now I've been testing with a temp. dir under /tmp, is that location > off-limits too under SIP (IOW, should I test again in $HOME or my personal > $TMPDIR)?! > > R. This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI. _______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
