Red Hat Bugzilla – Bug 234051
rpmlint catches strange permissions only when the rpm is already installed
Last modified: 2007-11-30 17:12:00 EST
rpmlint complained about /usr/share/doc/<package>/doc having strange permissions
(set guid), but only when the package is already installed. rpm -v -qpl
<package> shows the strange permissions already without the package beeing
installed, so rpmlint could also check for the permissions in the rpm, without
it beeing installed.
I wanted to report this here, but trac complained about a missing form cookie,
but it seems it never event wanted to give me a cookie. Maybe you can forward this.
Hmm, trac submission worked fine for me as anonymous.
Do you have a package around which can be used to test this? I could not
reproduce in some quick tests.
(In reply to comment #1)
> Hmm, trac submission worked fine for me as anonymous.
I tried to use my name instead if anonymous, maybe this was the problem.
> Do you have a package around which can be used to test this? I could not
> reproduce in some quick tests.
I think you need to register and login if you wish to use something else than
Anyway, I cannot reproduce with the test package either:
$ rpm -q rpmlint
$ rpm -V rpmlint
$ rpm -q whysynth-dssi
package whysynth-dssi is not installed
$ rpmlint whysynth-dssi-20060122-7.i386.rpm
E: whysynth-dssi non-standard-dir-perm /usr/share/doc/whysynth-dssi-20060122/doc
W: whysynth-dssi dangling-relative-symlink /usr/bin/whysynth jack-dssi-host
(In reply to comment #3)
> $ rpmlint whysynth-dssi-20060122-7.i386.rpm
> E: whysynth-dssi non-standard-dir-perm /usr/share/doc/whysynth-dssi-20060122/doc
> W: whysynth-dssi dangling-relative-symlink /usr/bin/whysynth jack-dssi-host
Ok, the problem was, that I installed a rpm, that was made with rpmbuild and has
the strange permission, but I ran rpmlint on a mock built, which does not have
the strange permissions problem.