Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.12
Description
Steps to Reproduce:
1. Add "log-to-file=/tmp/qpidd.log" to /etc/qpidd.conf
2. Login as root user, touch /tmp/qpidd.log && chmod 600 /tmp/qpidd.log
3. su to a non-root user, run "/usr/sbin/qpidd --help"
Further similar reproductions:
qpidd --help --config not_readable_file
qpidd --help --log-file not_readable_file (where /etc/qpidd.conf does not
contain log-file option)
qpidd --help (when config file is not readable)
qpidd --help (when config file contains log-file to non-readable file)
Plus all the above for --version option (instead of --help).
Patch for all the above (except one questionable case) will be uploaded.