Hi,
Ok, so we have a few sites on a CentOS VPS.
Each site is inside:
/home/<user1>
/home/<user2>
etc
Permissions of /home/ are set as:
USER GROUP DIRECTORY
drwx--x--- 6 user1 user1 4096 Oct 23 2011 user1
drwx--x--- 6 user2 user2 4096 Oct 23 2011 user2
We issue the commands:
usermod -a -G user1 lsadm
usermod -a -G user1 nobody
Then when we go into Configuration -> Virtual Hosts and the site for user1 we can update the settings and the vhconf.xml is written to fine.
Every so often, when coming back to the LiteSpeed admin to look at the config for a site, we get the dreaded red writing error message saying the vhconf.xml is not present/accessible.
Issuing the first usermod command as above and a graceful restart fixes it
I've noticed this happening AFTER each upgrade and need to monitor and see if that was coincidence or not.
Can anyone think why 'user1' would be disappearing from the group 'lsadm'?
Is the upgrade for some reason resetting the group?
Any help/suggestions for securing the sites better would be much appreciated.
Ok, so we have a few sites on a CentOS VPS.
Each site is inside:
/home/<user1>
/home/<user2>
etc
Permissions of /home/ are set as:
USER GROUP DIRECTORY
drwx--x--- 6 user1 user1 4096 Oct 23 2011 user1
drwx--x--- 6 user2 user2 4096 Oct 23 2011 user2
We issue the commands:
usermod -a -G user1 lsadm
usermod -a -G user1 nobody
Then when we go into Configuration -> Virtual Hosts and the site for user1 we can update the settings and the vhconf.xml is written to fine.
Every so often, when coming back to the LiteSpeed admin to look at the config for a site, we get the dreaded red writing error message saying the vhconf.xml is not present/accessible.
Issuing the first usermod command as above and a graceful restart fixes it
I've noticed this happening AFTER each upgrade and need to monitor and see if that was coincidence or not.
Can anyone think why 'user1' would be disappearing from the group 'lsadm'?
Is the upgrade for some reason resetting the group?
Any help/suggestions for securing the sites better would be much appreciated.