31

CentOs doesn't recognise www-data but want to change ownership on my files folder. All my folders are owned by root at the moment. Confused as to what should be owned by apache and what she be owned by me the root user? Also when it says root root does that mean root user me and group apache root?

2 Answers 2

41

There is apache user instead of www-data in Centos.

2
  • is root same as apache? Commented Dec 11, 2012 at 11:14
  • nope. they're different users. data should be owned by apache to be able to modify them via your web scripts. Commented Dec 11, 2012 at 11:19
1

you can run sudo chgrp -R apache YOUR_FOLDER

2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.