Bug 848131

Summary: logrotate uses inverse umask
Product: Red Hat Enterprise Linux 6 Reporter: Daniel Crisman <fixing-stuff-d-f-crisman-redhat-bugzilla>
Component: logrotateAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: Tomas Dolezal <todoleza>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: azelinka, jorton, todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: logrotate-3.7.8-17.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-18 09:35:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch none

Description Daniel Crisman 2012-08-14 17:47:03 UTC
Created attachment 604377 [details]
patch

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):
From logrotate-3.7.8-15.el6.src.rpm

Comment 2 RHEL Program Management 2012-09-07 05:11:59 UTC
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.

Comment 8 errata-xmlrpc 2013-07-18 09:35:22 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1095.html