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

Re: dpkg-statoverride sucks



On Tue, Jan 30, 2001 at 12:02:16PM +0000, Julian Gilbey wrote:
> On Tue, Jan 30, 2001 at 09:12:48PM +1100, Drew Parsons wrote:
> > I'm packaging the new version of mirrormagic, which has a series of data
> > directories all with the setgid bit set (mode g+s). In particular it needs
> > setgid for writing high scores to /var/lib/games/mirrormagic, which has
> > a hierarchy of subdirectories underneath them, also setgid.
> > I want to be able to set /var/lib/games/mirrormagic with something like
> > chmod -R g+rws, recursively into all subdirectories.
> 
> If it needs it, that's how it should be in the .deb.  Make sure that
> dh_fixperms doesn't break it, though!
> 
> dpkg-statoverride is only for the sysadmin to change things *from*
> their normal settings.
> 

Fair enough.  That makes it simple enough then, if I don't need to use it at
all.

The reason I got confused is that the previous version (I recently adopted
the package) was using suidregister in debian/rules, and I got a warning
from lintian that I was now supposed to use dpkg-statoverride instead.  I
don't even know what suidregister was supposed to have been doing exactly,
since now it's gone and there's no more man page.

Well I'll just ignore it altogether now, and chmod the directories to my
heart's content :)

Thanks, Julian and Matt,

Drew

-- 
PGP public key available at http://dparsons.webjump.com/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A



Reply to: