Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
What are the best linux permissions to use for my website?

I have allot of users which install joomla, wordpress, drupal and other CMS things on their websites ( linux server). Usually they get problem with write permissions when they want to install additional modules or plugins. What they do in this case is to automatically set 777 on their directories and they leave it like that. Of course that causes problems to me from security perspective.

Don't know how to formulate this questions correctly but hopefully someone will understand. what would be the best default permissions to give to users so they would not get such errors and then change everything to 777? Is there any option, when CMS's are in question, which would prevent problems with write permissions and by that users wouldn't need to put everything to 777.

thank you

share|improve this question

marked as duplicate by Michael Hampton, HopelessN00b, Ward, voretaq7 Dec 6 '12 at 5:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer

755 is pretty usual but it also depends on the server environment. Have a read through: http://www.anchor.com.au/blog/2012/09/the-chmod-777-trap-how-and-why-to-avoid-it/

share|improve this answer
add comment

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