Red Hat Bugzilla – Bug 171163
CUPS trashes permissions on SSL certificates
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
When the cups service is started, it changes the permissions on its certificate file and certificate key file to mode 0640, owner root:sys. This is bad for two reasons. First, as far as I know, the certificate file can and often should be world-readable. Second, if other services are configured to use the same certificate and key files, they may stop working. For example, OpenLDAP requires that the key be readable by the ldap user.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Edit /etc/cups/cupsd.conf and configure a ServerCertificate and ServerKey.
2. Start cupsd ("service cups start").
Actual Results: Permissions on the certificate files are altered.
Expected Results: Permissions are not altered.
Will be fixed in a future version of CUPS. Thanks for the report.