5

Adding Apache to User Group

view full story
linux-howto

http://askubuntu.com – OK. Total beginner question, please bare with me. We have a small LAMP server running Ubuntu 12.04 LTS which contains a few sites. Access to the vhosts directories is set to root:AndSpecialSFTPGroup. This works fine in general. However, some of the sites run on a CMS which need write access to particular folders. This is now not working, because the Apache user is www-data. Simple question: Is OK to add the www-data to the AndSpecialSFTPGroup group in order to grant it rwx permissions. Or is this the wrong approach altogether. Or should the owner of the website folders be www-data? Thanks (HowTos)