Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have set ubuntu 10.10 server with LAMP. I use USERDIR mod for apache, but when I install some CMS systems for user like Concrete5, I need to set chmod 777 to some directorys to write data with CMS. Is it possible to add some permissions for apache, so that I don't need to use chmod command.

I have read something about suPHP. Is it good for this?

share|improve this question
1  
I would stay away from software/how to's that tells you to use chmod 777. –  Rinzwind Sep 19 '11 at 13:31
    
You'll find that I recommend suPHP for this –  Marco Ceppi Sep 19 '11 at 14:12
    
I used this one and it worked bibekshrestha.com.np/blogs/post/2009/08/18/… . Now I have only issues with reading generated file, for example .httaccess –  user13123 Sep 20 '11 at 6:37

1 Answer 1

Just change all the files ownership under the concrete5 directory to www-data or whatever user you are running:

sudo chown -R www-data:www-data concrete5

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.