• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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