Possible Duplicate:
Whats the simplest way to edit and add files to “/var/www”?

Ive installed a LAMP server in my machine, and I would like to edit the files in /var/www/ but I dont want to have to switch to super user everytime.

How can I set the permissions so that I can edit the contents of the folder with my everyday user account?


marked as duplicate by Jorge Castro, jrg Apr 7 '12 at 21: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.


sudo chown -R everydayUser:everyDayUserGroup /var/www


Actually set the group to the group your browser is using so that it doesn't loose access to it.

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