HEX
Server: Apache
System: Linux www 6.18.4-i1-ampere #899 SMP Thu Jan 8 10:39:05 CET 2026 aarch64
User: sws1073755998 (1073755998)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //etc/fakechroot/chroot.env
# Additional environment setting for chroot

# Add /usr/sbin and /sbin to PATH if chroot command can't be found
if ! command -v chroot >/dev/null; then
    PATH="${PATH:-/usr/bin:/bin}:/usr/sbin:/sbin"
    export PATH
fi

# Set a list of command substitutions based on PATH variable
fakechroot_chroot_env_cmd_subst=""
for fakechroot_chroot_env_d in `echo $PATH | tr ':' ' '`; do
    fakechroot_chroot_env_cmd_subst="$fakechroot_chroot_env_cmd_subst
$fakechroot_chroot_env_d/chroot=${fakechroot_bindir:-/usr/sbin}/chroot.fakechroot
$fakechroot_chroot_env_d/env=${fakechroot_bindir:-/usr/bin}/env.fakechroot
$fakechroot_chroot_env_d/ischroot=/bin/true
$fakechroot_chroot_env_d/ldconfig=/bin/true
$fakechroot_chroot_env_d/ldd=${fakechroot_bindir:-/usr/bin}/ldd.fakechroot"
done

FAKECHROOT_CMD_SUBST="${FAKECHROOT_CMD_SUBST:+$FAKECHROOT_CMD_SUBST:}`echo \"$fakechroot_chroot_env_cmd_subst\" | tr '\012' ':'`"
export FAKECHROOT_CMD_SUBST

# Set the default list of directories excluded from being chrooted
FAKECHROOT_EXCLUDE_PATH="${FAKECHROOT_EXCLUDE_PATH:-/dev:/proc:/sys}"
export FAKECHROOT_EXCLUDE_PATH