I have just installed a Ubuntu server that will hold a lot of different websites for which I want to add a CMS control panel.
For security reasons I will have all websites being owned by, for example, site-x:site-x
.
The CMS site is owned by www-data:www-data
and I need to add a silent permission to all sites so that www-data:www-data
can read and write to their files... But they cannot read/write from each other or www-data:www-data
.
How can I set this up?