This file is indexed.

/usr/lib/condor/libexec/condor_glexec_run is in htcondor 8.6.8~dfsg.1-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

if [ $# -lt 7 ]
then
	echo "usage: $0 <glexec> <proxy> <sandbox> " \
             "<wrapper> <stdin> <stdout> <stderr> <cmd> [<arg> ...]" >&2
	exit 1
fi

GLEXEC="$1"
PROXY="$2"
SANDBOX="$3"

shift 3

# use glexec to start a script that
#   - changes into the right working directory
#   - execs the wrapper, which will take care of the rest
#
SH=`readlink -f /bin/sh`
GLEXEC_CLIENT_CERT="$SANDBOX.condor/$PROXY"
export GLEXEC_CLIENT_CERT
# prevent glexec from creating a proxy in /tmp that is not cleaned up
GLEXEC_TARGET_PROXY=/dev/null
export GLEXEC_TARGET_PROXY
exec "$GLEXEC" "$SH" -c "cd \"$SANDBOX\" && exec \"\$@\"" cd-and-exec "$@"