Answer the question
In order to leave comments, you need to log in
How to give permission to a folder?
Warning: file_put_contents(/var/www/voynushka.loc/tmp/cache/098f6bcd4621d373cade4e832627b4f6.txt): failed to open stream: Permission denied in /var/www/voynushka.loc/core/libs/Cache.php on line 18
i to be honest, I don’t really understand these rights, but the rights to the /var/www folder were initially set as follows:sudo chown deepin -R /var/www
Answer the question
In order to leave comments, you need to log in
"chown" is to change the owner.
"chmod" is to change permissions.
"ls -ld filename_or_directory" - view owner, group, and permissions.
Plus there are still ACLs, I don’t remember how to change them.
For a start it is necessary to look, from what user there is an unsuccessful access to a file/directory. Well, check not only the access rights to the file, but also the rights of the overlying directories - there, too, m. access denied.
Follow the command and we will be happy to you.sudo chmod -R 0777 /var/www
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question