question on virtual ftp users and writable web folders

I have setup a debian dedicated server for my 5 domains and a couple of family business sites. I have proftpd setup with virtual mysql accounts and each user gets uid and gui of 200x where i just increment them. This means their uploaded files into their web root are owned by 2004:2004 for instance.

The trouble comes in that some CMS packages need to have the directory for template compiles or uploads writable by the apache user (www-data in my case). Now I am wondering if there is some trick I can do to make this work out? How do most other places solve this? It's not too bad in my case since it's a small number of domains and I run them for people so I can just ssh in and make the alterations, but how does this work on a larger server where you want this easy for users to do themselves, but don't want a bunch of people all having the power to write into each other's directories?

Thanks for the education here.

 

 

 

 

Top