TRANG CHỦ / TÀI LIỆU / CHI TIẾT TÀI LIỆU
Đăng bởi: phuongnk | 25/06/2016 10:02
/bin/tar: httpdocs/path/to/a/file: Cannot open: Permission denied
/bin/tar: httpdocs/path/to/a/file: Cannot stat: Permission denied
# /usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=example.com --user-name=ftp_user_name --set-content-permissions Plesk 10.0-10.3. # /usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=example.com --user-name=ftp_user_name --www-root=/var/www/vhosts/example.com/httpdocs --cgi-bin-path=/var/www/vhosts/domain.tld/cgi-bin --set-content-permissions
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e"select d.name as domain, su.login as user_name from domains d, sys_users su, hosting h where d.id=h.dom_id and h.sys_user_id=su.id and d.name='example.com'" +---------------------+----------------------+ | domain | user_name | +---------------------+----------------------+ | example.com | ftp_user_name | +---------------------+----------------------+
# wget https://kb.plesk.com/Attachments/kcs-20264/recover_plesk_directories-10.4.zip # unzip recover_plesk_directories-10.4.zip # sh recover_plesk_directories-10.4 example.com
# wget https://kb.plesk.com/Attachments/kcs-20264/recover_plesk_directories.zip # unzip recover_plesk_directories.zip # sh recover_plesk_directories.sh example.com
# /usr/local/psa/bin/repair --restore-vhosts-permissions