[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: atris - Alizarin Tetris



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
debian/bastet/usr/games/bastet

chmod g+w debian/bastet/var/games/bastet.scores

chmod 2755 debian/bastet/usr/games/bastet

...on debian/rules.

Obviously, as Matt said, with lintian override.

Regards,

-- 
David Moreno Garza <damog@damog.net>
 http://www.damog.net/
 PGP 356E16CD - 84F0 E180 8AF6 E8D0 842F  B520 63F3 08DB 356E 16CD

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: