Server IP : 162.241.126.129 / Your IP : 18.223.209.114 Web Server : Apache System : Linux 162-241-126-129.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64 User : rvway5nu4 ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/bin/ |
Upload File : |
#!/bin/bash CONVERT="$1" 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 "/proc/sys/fs/protected_symlinks_allow_gid" -a -z "$CONVERT" ]; then exit 0 fi 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