Bug 3996
Summary: | rpm --rebuilddb creates files with current umask | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | v.kuhlmann |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-08-16 19:09:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
v.kuhlmann
1999-07-12 06:40:01 UTC
Indeed the files in /var/lib/rpm get written with root's umask, so in the case of a 077 umask, all of the files are getting written RW for root only. Not sure whether this is a problem or not, but have forwarded it to a developer for further action. Unset umask before rebuilding the database. There's no way that rpm can identify that /var/lib/rpm/* should be mode 0644 or mode 0600. |