• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Forwarded to devs possible glitch in #plesk repair fs ?

TomBoB

Silver Pleskian
TITLE:
possible glitch in #plesk repair fs ?
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
CentOS 7.4.1708, Plesk 17.5#44
PROBLEM DESCRIPTION:
When running
Code:
#plesk repair fs
it resets the permissions for the clientdomains.tld under VHOSTS correctly to 710, however does not set the httpdocs subfolder's permissions to 750 when the permission was 755.

Full post on forum with details is at
Question - permissions issue - possible glitch in #plesk repair fs ?

As Plesk documentation says the permission of httpdocs ahould be 750, I would call the non-correction by running #plesk repair fs a glitch or a bug.​
STEPS TO REPRODUCE:
set permissions on httpdocs folders to other then 750. Run
Code:
#plesk repair fs
to try and repair and set proper permissions.​
ACTUAL RESULT:
permissions stay the same, and are not corrected to 750.​
EXPECTED RESULT:
permissions are set to 750​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Answer the question
 
From developer:

Nope, not a glitch.

There was a bug PPP-14056 and its bugfix was "our repair tool should consider both 750 and 755 permissions for httpdocs as fine".

If you run the plesk repair fs in verbose mode it will show the following:



# plesk repair fs worldcup2018russia.football -v
Checking virtual hosts' file system

There are incorrect permissions on some items in the WWW root
directory of the domain 'worldcup2018russia.football' ...................... [ERROR]

Incorrect permissions on
/var/www/vhosts/worldcup2018russia.football/httpdocs/.: expected is one
of 0750, 0755, actual is 0757
Do you want to repair incorrect permissions? [Y/n]


"Expected is one of 0750 or 0755".

So yes, by default Plesk creates httpdocs with 750 (and set such permissions in case httpdocs has some other value than 750 or 755), however, it is common for customers to have httpdocs permissions set to 755.
 
Back
Top