HEX
Server: Apache
System: Linux vps-1758242.hdpublicidad.mx 5.14.0-570.49.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 30 07:46:13 EDT 2025 x86_64
User: ochoayasociados (1030)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //bin/plesk_configure
#!/usr/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