MariaDB workaround, chown log file

Change-Id: I46f9759873a56b21ee9a6f0c5be5532516b13352