Pimcore requires write access to the following directories:
If you know which user executes PHP on your system (PHP-FPM user, Apache user, ...), simply give write access to the appropriate user.
Execute the following commands on the shell (eg. via SSH, …) in your install directory - replace
YOURGROUP with your configuration:
chown -R YOURUSER:YOURGROUP app/config bin composer.json pimcore var web/pimcore web/var
You can get further generic information about Symfony file permissions here: Symfony file permissions.
To be able to execute cli tools (pimcore or symfony console for instance), you need to give execute permissions to the cli tools. Here it add execute permissions to the user and group:
chmod ug+x bin/*
On Debian systems (and most other Linux distributions) mostly the www-data user executes the PHP files, just execute the following commands in your install directory.
chown -R YOURUSER:YOURGROUP app/config bin composer.json pimcore var web/pimcore web/var chmod ug+x bin/*