Set permissions for my.cnf