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

Re: Packages' use of dpkg-statoverride



On Thu, Jan 11, 2001 at 12:33:11AM +0100, Wichert Akkerman wrote:

> Previously Joe Drew wrote:
> > Is dpkg-statoverride meant to be used in a package, or only by sysadmins?
> 
> Both: you only need to call it if you want to change the default settings
> as they are used in the .deb.
> 
> > I've got a package which currently asks whether the svgalib binary
> > should be installed suid root. The safest way to do this, of course,
> > would be to ship it 755, and then add the suid bit later.
> 
> You can ask the question in the .config or preinst and register
> the statoverride before the package is unpacked, that is the best
> solution.

But, as mentioned previously, that requires a Pre-Depends on the new dpkg, yes?
Why not just ask in .config and register the override in postinst with
--update?

-- 
 - mdz



Reply to: