HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: transfener (1140)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/bin/plesk_configure
#!/bin/bash

if [ ! -e "/usr/local/psa/version" ]; then
    exit 0
fi

PATH_TO_FIX="/var/www/vhosts/.skel/0"
PLESK_VER=$(cat /usr/local/psa/version | awk '{print $1}' | awk -F '.' '{print $1}')

if [ -e "$PATH_TO_FIX" ]; then
    chgrp linksafe "$PATH_TO_FIX"
fi

if [ ${PLESK_VER} -ge 17 ]; then
    usermod -a -G linksafe psaadm
fi

exit 0