Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
Re: [opensuse-buildservice] rpmlint 08-check-permissions fails on 11.1, but not on Factory
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Mon, 26 Oct 2009 21:27:44 +0100
  • Message-id: <20091026202743.GB8973@xxxxxxx>
On Mon, Oct 26, 2009 at 08:35:45PM +0100, Henning Paul wrote:
Hi,

in my cdrtools package, I have following line in the .spec file:

| %verify(not mode)%attr(0711,root,root)/usr/bin/cdrecord

plus a /etc/permissions.d/cdrecord.easy

| /usr/bin/cdrecord root.root 4711

and a /etc/permissions.d/cdrecord.secure

| /usr/bin/cdrecord root.root 0711

Building for openSUSE 11.1, this causes rpmlint to issue following error
message:

| ... running 08-check-permissions
| ... testing for modified permissions
| --------------------------------------------------------------------
| package: cdrecord
| SuSEconfig.permissions modified files that are not properly handled!
| this will break rpm -V, ask ro for details.
| diff for both runs of rpm -V:
| -/usr/bin/cdrecord should be root:root 0755. (wrong permissions 0711)
| +/usr/bin/cdrecord should be root:root 0755. (wrong permissions 4711)
| --------------------------------------------------------------------

Interestingly, there is no such error for openSUSE 11.0 and Factory.

Any hints?

The permissions of 11.1 might still contain cdrecord with 0755,
at least SLES 10 does.

Not sure which file is used first in this case, but snippets should
have worked in 11.1 already.

Ciao, Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References