Originally Posted by till
a) Shall we create a sytem user for every client, so all websites of a client belong to the same linux user.
b) Shall there be a system user for every website and a linux group for the client. All website users of this client belong to the group of the client.
My preference is b)
If I assign more then one website to one use, why would I want more than one system user? This only complicates things for the end-user.
If a user needs more freedom he needs to be a reseller.
Please make it simple for the end-user!
So I definitely prefer option a)
For the directory structure:
Why not use "/var/clients/client[client_id]/[website_domain]/" also? It's much more human readable.