Bug 160259 - RPM saves $file.rpmsave in incorrect mode
RPM saves $file.rpmsave in incorrect mode
Status: CLOSED DUPLICATE of bug 145373
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rpm (Show other bugs)
4.0
All Linux
medium Severity low
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
impact=low,public=20050117,reported=2...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-13 17:40 EDT by Guy Streeter
Modified: 2016-02-09 20:32 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-14 14:38:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Guy Streeter 2005-06-13 17:40:34 EDT
+++ This bug was initially created as a clone of Bug #145373 +++

Description of problem:

I removed the netdump-server package, but since I had changed the 
/var/crash/.ssh/authorized_keys2 file, it saved it as a .rpmsave file.
 This is good... but it saved it of mode 0644... not of the same mode
that the config file was from.  This seems to be a minor security hole:

[root@jjensen-lnx root]# cd /var/crash/.ssh/

[root@jjensen-lnx .ssh]# ls -l
total 8
-rw-------    1 netdump  netdump       616 Jan 17 15:32 authorized_keys2
-rw-------    1 root     root          616 Jan 17 15:28
authorized_keys2.premade-rw-r--r--    1 root     root            0 



Version-Release number of selected component (if applicable):

FC3, all updates
Comment 1 Paul Nasrat 2005-07-14 14:38:22 EDT
See original bug for closure details - we rename () and unable to reproduce on
RHEL 3, 4 and rawhide.

*** This bug has been marked as a duplicate of 145373 ***

Note You need to log in before you can comment on or make changes to this bug.