Вопрос

I'm using Centos system. I see the directories/files owned by www-data user. I'd expect them to be owned by apache process.

Does www-data translate as apache for ownership?

Это было полезно?

Решение

Excerpt from :http://www.linuxquestions.org/questions/linux-newbie-8/is-www-data-some-sort-of-generic-user-933894/

On many (not all) distributions, www-data is the user under which the Apache web server runs. This also means that everything done by Apache (especially including PHP scripts) will be done with the permissions of user www-data (and also group www-data) by default.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top