* tchubb File Permissions for Small Shared Hosting Setup
Hi Guy and Girls,
I hope I am not repeating questions asked in the past. I have a VPS (HVM) that I run Centos 5.6. I run a few different services, one being HTTPD. Basically I have a few websites hosted on the server, each has their own user and a home directory for the webroot. For example
User : rwx
Group : rx
User : domain2.co.uk
group : apache
How can I make files uploaded via ftp have these default permissions? I donít want each user in the apache group as this would give access to each others website. How would this be done in normal shared hosting? So I need to use umask, but how would I set the default group if the user is not in it.