| 
				Server : Apache System : Linux ecngx264.inmotionhosting.com 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64 User : lonias5 ( 3576) PHP Version : 7.3.33 Disable Function : NONE Directory : /proc/self/root/proc/thread-self/root/usr/bin/  | 
Upload File :  | 
#!/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