@custer
Are these the changes Plesk has made in Installation Package?
Edit ./vendor/magento/framework/Filesystem/DriverInterface.php and change the following:
const WRITEABLE_DIRECTORY_MODE = 0755; // was: 0770
const WRITEABLE_FILE_MODE = 0644; // was: 0660
Are these the changes Plesk has made in Installation Package?
Hi everyone,
Edit ./vendor/magento/framework/Filesystem/DriverInterface.php and change the following:
- We're planning to release a working version of Magento 2 APS package soon.
- Try the following instructions and let us know if they help: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
- If the instructions above do not help, try the following:
const WRITEABLE_DIRECTORY_MODE = 0755; // was: 0770
const WRITEABLE_FILE_MODE = 0644; // was: 0660
This will make sure that Magento creates files and directories with the correct permissions.
Next, reset the current file permissions by running the following command via SSH (I assume that your current work directory is the root installation dir):
cd ./pub
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
This should reset file permissions to 644 and directory permissions to 755 inside the ./pub directory and all sub-directories.
Are these the changes Plesk has made in Installation Package?
Edit ./vendor/magento/framework/Filesystem/DriverInterface.php and change the following:
const WRITEABLE_DIRECTORY_MODE = 0755; // was: 0770
const WRITEABLE_FILE_MODE = 0644; // was: 0660
Are these the changes Plesk has made in Installation Package?