Guillaume Rousse <[EMAIL PROTECTED]> writes:

> Ainsi parlait Frederic Lepied :
> > > I just packaged dopewars, a great non-politically-correct games, and
> > > found that rpmlint make extensive check against binaries in /usr/bin, but
> > > not in /usr/games/bin (and maybe also in other directories).
> > > My first spec followed the install script to put the binary in /usr/bin,
> > > and rpmlint sent a warning as it was setgid. Then i moved it to
> > > /usr/share/bin, and the warning disappeared...
> >
> > Are you sure ? With the following spec I got the warning:
> >
> > E: test arch-dependent-file-in-usr-share /usr/share/bin/a.out
> > E: test setuid-binary /usr/share/bin/a.out games 04777
> For /usr/games binaries, yes :
> [root@agathe guillaume]# ls -l /usr/games/dopewars
> -rwxr-sr-x    1 root     games      213884 mai 15 22:52 /usr/games/dopewars*
> [root@agathe guillaume]# rpmlint dopewars-1.5.0-1mdk.i586.rpm
> W: dopewars invalid-packager Guillaume Rousse <[EMAIL PROTECTED]>
> error checking signature of dopewars-1.5.0-1mdk.i586.rpm

/usr/games binaries can be of the games group to allow high score
files to be written. This exception is hardcoded in rpmlint...
-- 
Fred - May the source be with you

Reply via email to