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.

I'm wondering why WordPress isn't able to install or update themes and plugins. I can upload files thought. This is a permissions problem, even when I CHMOD 0777 on the wp-content/themes and wp-content/plugins directory it still doesn't work.

I know I've got something set up wrong, whether it's to do with my lighttpd set up or to do with the way I've set up permissions. I've checked lighttpd's conf and the user is www-data, however if I set CHOWN of the blog to www-data, I'm not able to edit the files through SSH.

So what can I do?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

If chown'ing the files to www-data works, you can set it up with group permissions to still allow you (and other users, if necessary) to be able to edit the directories. For example, you could add yourself to a group called 'developers' and then do chown -R www-data:developers ..

share|improve this answer
    
Interesting, and (without sounding dumb) how can I a) set up the developers group and b) add myself and www-data to it? –  Ahmed Nuaman Feb 25 '11 at 12:56

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.