data-dir itself has permissions
700 thereby limiting access to the
I want other folks who I add to the
mysql group to be able to read
binlogs and download the
*.MYD files to their local computer.
My first thought is to run
chmod g+rx data-dir.
The database directories and table/binlog files within
data-dir have permissions with
660. So I have to
chmod g-w on all of those to prevent accidental tampering or removal of live data.
Unfortunately, as new
binlogs are created, and the
create database or
create table command is used, the
g+w permission is automatically added. How can I change this functionality?