• 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.

Question Update "Restrict the ability to follow symbolic links" for all websites

Enzonius

New Pleskian
My team is responsible for migrating websites to Plesk CentOS 7 servers. The recent update to enable "Restrict the ability to follow symbolic links" has been a real problem for us. I know with an individual website you can just got to Domains > example.com > Apache & Nginx Settings and then uncheck the box for "Restrict the ability to follow symbolic links" in order to turn it off. However, we also found that when you perform a bulk migration using the Migrator tool that all websites that get migrated will all have "Restrict the ability to follow symbolic links" enabled. This is not ideal because if we have to migrate a server that has over 100 subscriptions/domains that means I'm going to have to uncheck a lot of boxes and waste a lot of time.

My question is if there is a way to mass update all websites on a server via command line so that I don't have to uncheck that box individually for each website via the Plesk panel. If not is there a way to disable this on a server so the default behavior is not to turn on "Restrict the ability to follow symbolic links" ? If there isn't there really should be because this is a major oversight for users with lots of websites.

-Thank you
 
You can try to use the following command for mass update domain settings:

# for dom in `plesk bin domain --list`; do plesk bin subscription --update-web-server-settings $dom -apache-restrict-follow-sym-links 'false'; done
 
Back
Top