Okay, here is the background.
I have 2 users.......user 1 = gelt..........user 2 = redwolf.
User redwolf is in group redwolf.
User redwolf's home directory is in /home/redwolf.
User redwolf is a standard user, simply logs in and does simple stuff
User gelt is in group gelt
User gelt's home directory is /gelttech.com
User gelt logs in and uploads the pages for www.gelttech.com,
which is located in /gelttech.com/html/
Here is the situation. I need to have the directory gelttech.com only viewable by user gelt, and whatever process are needed to read and display gelttech.com located in /gelttech.com/html/
I have added apache to the group gelt and then issued the following command.
[root@server-rig /]# chmod 770 gelttech.com
After doing this, I get the Apache test page, and not the simple index.html page that I created. I then issue this command.
[root@server-rig /]# chmod 771 gelttech.com
After doing this, www.gelttech.com
loads to the simple index.html page that I created. There is a problem with 771, redwolf can now delv into the /gelttech.com directory, where as with 770, redwolf gets access denied when trying to go into the /gelttech.com directory.
WHAT do I need to do in order to keep redwolf out of /gelttech.com and yet still be able to have the page load properly and the user gelt upload any changes to gelttech.com?