- Plesk for Windows
The files uploaded via WordPress and/or its plugins on Plesk get incorrect permissions
A backup of a website finishes with the warning:
CONFIG_TEXT: Not all the data from C:\Inetpub\vhosts\example.com was backed up successfully:
Unable to get attributes of the file C:\Inetpub\vhosts\example.com\httpdocs\wp-content\uploads\picture.png: (5) Access is denied. The file will not be archived.
The FastCGI settings option is disabled in Plesk > Domains > example.com > PHP Settings.
By default, PHP uses the directory
C:\Windows\Temp to upload the files in accordance with the parameter
upload_tmp_dir. After that, the files are moved to the necessary folder with permissions that were taken from
Go to Domains > example.com > PHP Settings
Enable the option FastCGI settings
Click the OK button
Note: The FastCGI settings specify the parameter
upload_tmp_dir for the domain as the folder inside its directory. In that case, all permissions are inherited properly from the Document Root of the domain.