• Balasubramanian Kandasamy's avatar
    BUG#21879694 - /VAR/LOG/MYSQLD.LOG HAS INCORRECT PERMISSIONS AFTER INSTALLING SERVER FROM REPO · 8281068f
    Balasubramanian Kandasamy authored
    Description:
    This issue doesn't effect any default installation of repo rpms if user uses
    init scripts that are shipped as part of package but will have trouble if
    user tries to createdb or start server manually.
    
    After installing mysql-server from repository(yum,zypper) /var/log/mysqld.log
    is created with logged in user and group permissions instead of with mysql
    user and group permissions,due to which while creating database or starting
    server, it is failing
    
    Fix:
    
    Updated the user and group permissions of the /var/log/mysqld.log and
    /var/log/mysql/mysqld.log (for sles) files to mysql.
    8281068f
mysql.spec.in 60 KB