Red Hat Bugzilla – Bug 950
Symbolic links are sometimes stored in RPMs with wrongs mode
Last modified: 2008-05-01 11:37:49 EDT
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.
This is a duplicate of #528, #533 and #535
*** This bug has been marked as a duplicate of 528 ***