Category: permissions

Symfony can’t write in cache folder on CentOS 7 even with the right permissions

Symfony cannot write in cache folder even i give full permissions to that folder chmod 777 -R /path/to/symfony/var But I am always getting these error Cache directory "/path/to/symfony/var/cache/dev" is not writable. I am on Centos 7 and I use nginx…

Bad permissions with docker & dockerfile

I have a Symfony project running under Docker container. This is the docker-compose & Dockerfile (only PHP parts): docker-compose.yml: version: ‘3.7’ services: php: build: context: . dockerfile: docker/php/Dockerfile volumes: – ‘./app/:/usr/src/app’ restart: on-failure user: 1000:1000 environment: APP_ENV: dev APP_DEBUG: 1…