Bug 950

Summary: Symbolic links are sometimes stored in RPMs with wrongs mode
Product: [Retired] Red Hat Linux Reporter: Ziv, Alon <alonz>
Component: rpmAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5.2CC: aleksey
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-02-16 22:17:30 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 Ziv, Alon 1999-01-24 21:46:03 UTC
In some packages of the Apollo release, there are symbolic
links which RPM thinks should have mode lrwxr-xr-x (despite
the fact that *every* symlink *always* has mode lrwxrwxrwx).
See e.g. `/usr/bin/X11' in package `filesystem'.

Fix:
In build/files.c:add_file(), don't reset the file's mode if
it is a symlink (i.e., if S_ISLNK(p->statbuf)).  Also, in
lib/verify.c:rpmVerifyFile(), don't verify the file's mode
it it is a symlink.

Comment 1 Aleksey Nogin 1999-01-26 03:43:59 UTC
This is a duplicate of #528, #533 and #535

Comment 2 Jeff Johnson 1999-02-16 22:17:59 UTC
*** This bug has been marked as a duplicate of 528 ***