I have multiple users on one machine with FreeBSD7.3. Each user has his own site (only one). Each site is a copy of master-site with slight differences (ie. database configuration, template files).
It's like many Wordpresses with different users on one machine.
The problem is:
I've made a patch for master-site. How i can update all of this sites at once, rightly changing user permissions and ownership.
IE: I have patch like it:
/temp/patch/www/
--index.php
--includes/system.php
And i have many users with the same directory structure and few other files:
/home/mike/www/mikebestsite.com/
--index.php
--index2.php
--includes/system.php/home/john/www/superjohnsite.com/
--index.php
--includes/system.php
--includes/break.php/home/larry/www/larry-e-king.com/
--index.php
--includes/system.php
--css/larry.css