A
AidanC
Guest
Hello,
I'm having a problem with the way the ownership/permissions on web directories is set up. The problem is the apache user needs to have write access to web directories for a lot of CMS type functionality involving updating files to work.
When I add a new domain the permissions are set just like indicated here: http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=60914.htm
e.g. for httpdocs the user is the account username and group is psaserv and the permissions are rwxr-x--- and the permissions for files within are rw-r--r--
CMS programs such as Wordpress that need to write files cannot do so with this setup because apache does not have write permission. So I'm wondering what is the best or standard way to fix this problem? I can manually change the permissions on the files to rw-rw-r-- (ie. add write permission for group) but I have no idea if this is the best approach. Also I need to have it set up so that the permissions are set correctly whenever I add a new domain - how do I control the default permissions?
This must be a common setup requirement for most websites so I'm hoping someone can help me get it set up right so that I don't have to keep messing around with manually changing permissions.
Thanks in advance,
Aidan
I'm having a problem with the way the ownership/permissions on web directories is set up. The problem is the apache user needs to have write access to web directories for a lot of CMS type functionality involving updating files to work.
When I add a new domain the permissions are set just like indicated here: http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=60914.htm
e.g. for httpdocs the user is the account username and group is psaserv and the permissions are rwxr-x--- and the permissions for files within are rw-r--r--
CMS programs such as Wordpress that need to write files cannot do so with this setup because apache does not have write permission. So I'm wondering what is the best or standard way to fix this problem? I can manually change the permissions on the files to rw-rw-r-- (ie. add write permission for group) but I have no idea if this is the best approach. Also I need to have it set up so that the permissions are set correctly whenever I add a new domain - how do I control the default permissions?
This must be a common setup requirement for most websites so I'm hoping someone can help me get it set up right so that I don't have to keep messing around with manually changing permissions.
Thanks in advance,
Aidan