Ubuntu 12.04 php PEAR package problem-Collection of common programming errors
Permissions on directory /var/www/Prestashop/config
are wrong. They are drwx------
meaning that ONLY the newuser
user can access them. The webserver is run as www-data
and obviously it can’t access your config directory.
There’s absolutely no harm at adding read permissions to both group and all.
chmod +rx /var/www/Prestashop/config
It might be considered a security issue adding write permission to the directory, but also this is disputable since /tmp/
is always accessible and malicious software tends to use that as a support directory.
Of course don’t give write access to the files themselves as that would be a security issue.
If you really don’t want to make it readable to the world you can change the owner to www-data
sudo chown www-data /var/www/Prestashop/config
that should be enough since files inside the directory are world readable (except for the xml
folder that again needs the right ownership or permissions).