Bug 528 - symlink data in RPM for this package broken
symlink data in RPM for this package broken
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jeff Johnson
: 950 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1998-12-18 19:20 EST by Joe Harrington
Modified: 2015-03-27 15:07 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-01-12 10:41:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Harrington 1998-12-18 19:20:21 EST
rpm -v flags mode discrepancies on many symlinks.  They are
mode 755 or 644 in the package but get installed mode 777
(and it is impossible to change them to any other mode with

.M......   /usr/lib/libform.so.4
.M......   /usr/lib/libmenu.so.4
.M......   /usr/lib/libncurses.so.4
.M......   /usr/lib/libpanel.so.4
Comment 1 Derek Tattersall 1998-12-21 10:35:59 EST
This bug, and the next several are really rpm anomalies, as info chmod
indicates that symlinks always have permissions of 777 and that when
attempts to chmod a symlink the underlying file's permissions are
Comment 2 Derek Tattersall 1998-12-21 10:36:59 EST
see bug 528
Comment 3 Jeff Johnson 1999-01-12 10:41:59 EST
Fixed in recent versions of rpm-2.5.x/rpm-2.90.x.
Comment 4 Jeff Johnson 1999-02-16 17:17:59 EST
*** Bug 950 has been marked as a duplicate of this bug. ***

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'.

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.

------- Additional Comments From ayn2@cornell.edu  01/25/99 22:43 -------
This is a duplicate of #528, #533 and #535
Comment 5 openshift-github-bot 2015-03-27 15:07:49 EDT
Commit pushed to master at https://github.com/openshift/origin

Issue #333, #528 - add number to builds

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