• 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 Plesk repair tool reports "There are files or directories with suspicious permissions"

jmano

New Pleskian
hello,
when i run
Code:
plesk repair all -n
i get the WARNING:
Code:
There are files or directories with suspicious permissions in the root directory of the domain 'mydomain.com'

running
Code:
plesk repair fs -verbose
return a list of cache folders which are generated by the php application running on the domain (magento 2 in this case).

the main cahe folder has the user/group mypleskuser/psacln with 775 and subfolders the same owner/group with 777.

I can't figure out what the problem is here and google and forum search doesn't turn up anything when searching for "suspicious permissions" so it seems i'm alone with this warning message ...
 
You should not have in php-fpm or fastCGI environment anymore 777 or 775 files/folders. Because apache is executed as a user, you can have safely 644 for files and 755 for folders.
 
hey, thx for the quick reply :)

that makes sense, i'm having trouble finding where in magento the permissions for generation of the cache directories are set up so everytime the folders are regenerated it will set them back to 775/777.

Ther is a setting in /vendor/magento/framework/Filesystem/DriverInterface.php where i can set up general file/folder permissions but this doesn't manage the cache folders so i'm still hunting around for it.

Since this is not an error but just a warning i assume that if i don't find the permanent solution to this i can let it run like that without any major problems down the road ?
 
No major problem can get from this, except if a vulnerability in Magento, can be easily hacked.
 
Back
Top