Red Hat Bugzilla – Bug 848131
logrotate uses inverse umask
Last modified: 2014-01-30 04:21:24 EST
Created attachment 604377 [details]
The patch for bug 680798 which "fixes the issue by creating temp file with umask 0000" wants to limit access to the temp file so that should be a umask of 0777.
Use of mkstemp with recent versions of glibc covers up this error a bit as the file is created "with permissions 0600".
Version-Release number of selected component (if applicable):
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.