Re: RFS: atris - Alizarin Tetris
On Thu, Jul 08, 2004 at 05:30:50PM -0500, David Moreno Garza wrote:
> On Tue, 2004-07-06 at 04:22, Matthew Palmer wrote:
> > On Tue, Jul 06, 2004 at 11:12:54AM +0200, Marcel Sebek wrote:
> > > > linda -i /var/cache/pbuilder/result/atris_1.0.6-1_i386.changes
> > > > W: atris; File /usr/games/atris has incorrect file permissions of 2755.
> > > > The file shown above is in installed into a binary directory, which
> > > > are currently known as /bin, /sbin, /usr/bin, /usr/sbin,
> > > > /usr/X11R6/bin and /usr/games, and it doesn't have permissions of
> > > > rwxr-xr-x.
> > > I don't know how to fix that if I want to have the game setgid games.
> > > Maybe dpkg-statoverride?
> >
> > Noooooo. dpkg-statoverride is for local admin changes. You should ship the
> > file with custom permissions, and put in a lintian override.
>
> Exactly.
>
> FWIW, I have a package, 'bastet', which I had the same setgid problem
> for the high scores. I finally did something like:
>
> chown root.games debian/bastet/var/games/bastet.scores
Which, should of course be chown root:games ...
Use of . can lead to nasty surprises with usernames that contains a `.'
(valid character in a username). Of course, this is not the case here,
but let's try to fix all occurences anyway, since a lot of coding is
done by copy and modify or by example...
Reference (especially the rationale is good reading):
http://www.opengroup.org/onlinepubs/009695399/utilities/chown.html
Regards: David Weinehall
--
/) David Weinehall <tao@acc.umu.se> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
Reply to: