• Terje Rosten's avatar
    Bug#24483092 UNSAFE USE OF VARIOUS SHELL UTILITIES · 1f93f438
    Terje Rosten authored
     - Remove use of touch and chmod.
     - Restrict usage of chown to cases where target directory is /var/log.
     - Due to limited feature set in /bin/sh on Solaris, /bin/bash will be
       used on this platform.
     - Give error if directory for UNIX socket file is missing.
     - Privileged user should not log to files owned by different user
       (mysqld will log as before).
    1f93f438
mysqld_safe.sh 25.6 KB