Answer the question
In order to leave comments, you need to log in
How to open a directory for writing?
PHP Warning: /home/user/Projects/my-app/www/app/tmp/cache/models/schemes/ is not writable
Tried to solve:
chmod -R 777 tmp
sudo chmod -R 777 tmp
chown -R $USER:$ GROUPS tmp
sudo chown -R $USER:$GROUPS tmp
Nothing helps. How to be?
Answer the question
In order to leave comments, you need to log in
it’s bad that the error message is not normal, but crooked, but in general, problems with rights are solved as follows:
1. The folder itself must be open for writing for the user under which PHP is running
2. All folders in the path must be available for execution for the user under which launched RNR. the right to execute means for a folder the ability to go to this folder. and in order to get into the target destination folder, the user must be able to go to all parent folders
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question