• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Reset vhost permissions on Plesk 10.4

This script doesnt reset all permissions recursively and not all folders are changed.

Before ran script:
[root@painellx domain.com.br]# ls -la
total 80
drwxr-xr-x. 20 root root 4096 Sep 28 11:35 .
drwxr-xr-x. 119 root root 4096 Nov 30 13:41 ..
drwxrwxrwx. 5 domain psaserv 4096 Sep 13 08:23 anon_ftp
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 bin
drwxrwxrwx. 3 domain psaserv 4096 Sep 13 08:23 cgi-bin
drwxrwxrwx. 2 root psaserv 4096 Dec 2 05:51 conf
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 dev
drwxrwxrwx. 2 root psaserv 4096 Sep 13 08:23 error_docs
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 etc
drwxrwxrwx. 23 domain psaserv 4096 Sep 13 14:11 httpdocs
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 lib
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 lib64
drwxrwxrwx. 2 root psaserv 4096 Nov 23 10:34 pd
drwxrwxrwx. 2 domain root 4096 Sep 13 08:23 private
drwxrwxrwx. 7 domain psaserv 4096 Sep 13 08:23 statistics
drwxrwxrwx. 2 root psaserv 4096 Sep 13 08:23 subdomains
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 tmp
drwxrwxrwx. 4 root root 4096 Sep 28 11:35 usr
drwxrwxrwx. 3 root root 4096 Sep 28 11:35 var
drwxrwxrwx. 2 root psaserv 4096 Sep 13 08:23 web_users

After ran the script:

[root@painellx domain.com.br]# ls -la
total 80
drwxr-xr-x. 20 root root 4096 Sep 28 11:35 .
drwxr-xr-x. 119 root root 4096 Nov 30 13:41 ..
drwxr-x---. 5 domain psaserv 4096 Sep 13 08:23 anon_ftp
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 bin
drwxrwxrwx. 3 domain psaserv 4096 Sep 13 08:23 cgi-bin
drwxr-x---. 2 root psaserv 4096 Dec 2 05:51 conf
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 dev
drwxr-xr-x. 2 domain psacln 4096 Sep 13 08:23 error_docs
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 etc
drwxr-xr-x. 25 domain psacln 4096 Dec 4 10:27 httpdocs
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 lib
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 lib64
drwxr-x---. 2 root psaserv 4096 Nov 23 10:34 pd
drwx------. 2 domain root 4096 Sep 13 08:23 private
dr-xr-x---. 7 domain psaserv 4096 Sep 13 08:23 statistics
drwxr-xr-x. 2 root psaserv 4096 Sep 13 08:23 subdomains
drwxrwxrwx. 2 root root 4096 Sep 28 11:35 tmp
drwxrwxrwx. 4 root root 4096 Sep 28 11:35 usr
drwxrwxrwx. 3 root root 4096 Sep 28 11:35 var
drwxr-xr-x. 2 root psaserv 4096 Sep 13 08:23 web_users

Is there no way to full reset a domain under vhosts folder?
 
Back
Top