=== cagefsctl_user.py === sh: line 1: python3: command not found sh: line 1: python3: command not found sh: line 1: python3: command not found sh: line 1: python3: command not found === cagefs_enter_site.py === sh: line 1: python3: command not found sh: line 1: python3: command not found === fix_cagefs.sh === #!/bin/sh # Pass in 1 as the first param to force remount cage fixCageFS() { if [ -f "/etc/cagefs/cagefs.mp" ] ; then # cagefs installed first, need update mount point FORCE_REMOUNT="${1}"; REMOUNT=0 LSWS_DIR="/usr/local/lsws" if ! grep -v 'deleted' < /proc/mounts | grep -q 'lsws'; then REMOUNT=1 if ! grep -Eq "^${LSWS_DIR}$" "/etc/cagefs/cagefs.mp"; then # shellcheck disable=SC1003 sed -i -e '$a\' "/etc/cagefs/cagefs.mp" echo "${LSWS_DIR}" >> "/etc/cagefs/cagefs.mp" fi fi if [ "${FORCE_REMOUNT}" -eq 1 ] || [ "${REMOUNT}" -eq 1 ]; then cagefsctl --remount-all fi fi } fixCageFS "${1:-0}" -r-xr-xr-x 1 root root 766 Apr 30 16:45 /usr/local/lsws/admin/misc/fix_cagefs.sh === lscgid check === lrwxrwxrwx 1 root root 14 Apr 30 16:45 /usr/local/lsws/bin/lscgid -> ./lscgid.6.3.5 -r-sr-xr-x 1 root root 68504 Dec 15 2021 /usr/local/lsws/bin/lscgid.6.0.11 -r-sr-xr-x 1 root root 80096 Jul 9 2024 /usr/local/lsws/bin/lscgid.6.2.1 -r-sr-xr-x 1 root root 211120 Sep 12 2024 /usr/local/lsws/bin/lscgid.6.3 -r-sr-xr-x 1 root root 246728 Apr 2 2025 /usr/local/lsws/bin/lscgid.6.3.2 -r-sr-xr-x 1 root root 246840 Aug 5 2025 /usr/local/lsws/bin/lscgid.6.3.3 -r-sr-xr-x 1 root root 246944 Mar 2 08:56 /usr/local/lsws/bin/lscgid.6.3.4 -r-sr-xr-x 1 root root 246944 Apr 30 16:45 /usr/local/lsws/bin/lscgid.6.3.5 /usr/local/lsws/bin/lscgid.6.3: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=43d76c9dbd5a826c4cd87081d4f7df277cb07292, not stripped 2026-06-27 19:34:19.721598 lscgid: secret is not set properly! 2026-06-27 19:34:19.724069 lscgid: secret is not set properly! === CloudLinux venv binaries === Activate.ps1 activate activate.csh activate.fish alembic cagefs_enter_site.py cagefsctl_user.py chardetect cl_sysctl clcpapi coverage coverage-3.11 coverage3 cpanel-dbmapping crontab-user-wrapper.py da_suid_caller.py detect-requirements dodgy epylint f2py f2py3 f2py3.11 flake8 futurize get_gprof get_objgraph isort isort-identify-imports jsonschema lvestats_config_reader.py mako-render normalizer pasteurize pip pip3 pip3.11 plesk_suid_caller.py prospector py.test pycodestyle pydocstyle pyflakes pylint pylint-config pyreverse pysemver pytest python python3 python3.11 raven symilar tap tappy undill virtualenv === Try /opt/cloudlinux/venv/bin/python3 === ['CAGEFSCTL', 'Feature', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '_rebuild_apache_directadmin', '_skip_without_cagefs', 'clean_cagefs_without_lve_environment', 'functools', 'install_package', 'is_panel_feature_supported', 'logging', 'os', 'reconfigure_cagefs', 'run', 'task'] ['CAGEFSCTL_TOOL', 'CAGEFS_DIR_PATH', 'CAGEFS_MP_FILENAME', 'CAGEFS_SKELETON_PATH', 'CagefsMpConflict', 'CagefsMpItem', 'CagefsNotSupportedError', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '_get_cagefs_mp_lines', '_is_cagefs_enabled', '_is_directory_mounted', '_mk_mount_dir_setup_perm', '_remount_cagefs', '_write_cagefs_mp_lines', 'add_new_line_to_cagefs_mp', 'in_cagefs', 'is_cagefs_present', 'logger', 'logging', 'os', 're', 'remove_mount_dir_cagefs', 'setup_mount_dir_cagefs', 'subprocess', 'sys'] DONE