• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Keep applying security measures to same two sites [how to create a persistent configuration]

lightingman2003

New Pleskian
Server operating system version
Ubuntu 22.04 LTS
Plesk version and microupdate number
18.0.53 Update #2
We use WP Toolkit to keep our WordPress sites upto date and secure.

However, there are two of our sites where I keep needing to re-apply the "Restrict access to files and directories" security measure.

Its probably the fourth or fifth time in a few months where WP Toolkit marks these two sites as unsecure, and when I look it always flags "Restrict access to files and directories" as not being secure, despite me applying the security measure each time, and each time its always marked with a green tick following the measure being applied.

How can this be? Is there anything we can do to stop this once and forall? Its getting quite annoying having to keep re-applying this measure.

Thanks
 
I have faced this issue some time ago. The root cause was that a WP plugin creates files and give excess file permissions explicitly. or any 3rdparty software may do the same things.
I can advice you to check files and find which file or directory has a strange permission and that file may point to a plugin.
This security measure sets the permissions for the wp-config file to 600, for other files to 644, and for directories to 755.
at the time, WPTK cannot be able to re-apply this measure.
 
Thanks for your reply. I've had a look at the structure of both of the offending Domains, and spotted two folders with wierd permissions being set on both:

Code:
drwxr-xrwx  3 xxxx psacln   4096 Feb  2 18:57 blogs
drwxr-xrwx  2 xxxx psacln   4096 Feb  5 04:05 tmp

Based on my calculations, these folders have a permission of 757 (not 755), and both of these folders dont actually have any valid content in them, apart from an empty file named '.hidden'.

Could this be causing our issue?
 
Yes, it can cause this issue. So if you fix these permission and then something recreates these folders with excess permissions - the issue will reappear.
 
I have the same problem, how can I find which folders and files does not have the correct permissions ?
 
Back
Top