|
From: Leah K. <le...@fr...> - 2006-11-23 21:46:43
|
We want to include the file sizes of databases created w/Virtualmin to be trackable through quotas in addition to data used. I can do it manually w/say MySQL by changing the group of the db files to be the user group for the domain user and making sure the DB files are stored on the quota'd file system. I would like to automate this so that any time a database is created for a domain, or associated w/a domain, that it's files get the group permissions for the domain set. Could someone recommend the best place to add this in the code? Maybe an idea of something to plonk in /usr/libexec/webmin/virtual-server/save_database.cgi ? Thanks for any ideas, Cheers, Leah PS: cc-ing this address would be much appreciated -- Leah Kubik : d416-585-9971x692 : d416-703-5977 : m416-559-6511 Frauerpower! : www.frauerpower.com : Toronto, ON Canada |