Submitted by mastermind on Tue, 06/09/2020 - 19:42
MySQL databases created through Virtualmin are set sgid, presumably to track it's quota use
drws--S--- 2 mysql music 4096 Jun 6 12:46 music
Virtual domains that have reached their quota limit cause MySQL to fail to start with an error like:
Error: Write to file ./music/wp_postmeta.ibd failed at offset 0 819200
Someone didn't think their cunning plan all the way through.
Status:
Active
Comments
Submitted by JamieCameron on Sat, 06/13/2020 - 12:38 Comment #1
Correct, the group owner of MySQL database files is set to match the domain. This should just cause writes to that one DB to fail, and not block the startup of the server - if that happens, it seems like a MySQL bug to me.