I
I
Ilya2018-09-22 02:02:07
Apache HTTP Server
Ilya, 2018-09-22 02:02:07

Why doesn't Apache have write permissions?

Hello.
Started learning Vagrant. Installed CentOS 7, installed Apache, mariaDB, php7.2.
Simple script:
5ba577ea1b31f045444124.jpeg
Returns:
5ba57805e5d8b050371337.jpeg
Permissions:
5ba5782178996276553320.jpeg
What could be the problem?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2018-09-22
@New_Horizons

Found a solution. As far as I understood, the SELinux flag was set incorrectly or something like that.
This command helped:
chcon -Rv --type=httpd_sys_rw_content_t /var/www/example.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question