>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.
_______________________________________________
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]