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