• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

plesk 11 and vhostmng missing

Mickael Salfati

Regular Pleskian
Hi IgorG and parallels Team,

on plesk 11, is there an another alternative to set again properly all permissions on a vhost and his subdomains ?

Mickaël.
 
Try to use following script:
Code:
# mysql -Ns -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -Nse "select  s.login,h.www_root from domains d, hosting h, sys_users s where s.id=h.sys_user_id and h.dom_id=d.id"| grep [B]domain.com[/B] | while read usr path; do chown -R $usr:psacln $path ; chown -R root:root $path/plesk-stat; chown $usr:psaserv $path; done

where domain.com is name of vhost. Let me know if it helps.
 
Re

IgorG,

Thank you. It's my actual solution ;) But we have to catch others directories anon_ftp, cgi-bin, conf, error_docs etc.
So I'm wondering if a plesk tool (like vhostmng) it was not more secure for end customers.

Mickael.
 
Back
Top