Re: dh_suidregister -> ?
On Tue, Feb 06, 2001 at 07:11:31AM +0100, peter karlsson wrote:
> Julian Gilbey:
> > If the binary must be setgid, then you should just chown/chmod the
> > binary. If it could be used not-setgid, then use statoverride.
> It can be used non-setgid if the sysadmin is paranoid, yes (then the
> cache functions will be non-operative).
> JP Sugarbroad:
> > Packages should almost never call dpkg_statoverride themselves.
> Earlier, that meant that the setuid/setgid bits got cleared
> automatically by some daemon, is that not true anymore? Also, since the
> setgid/setuid bit isn't in the actual package in my case (it can't be -
> the group isn't created until after the package is decompressed), I
> *need* to set the permissions on the file each time.
Maybe you should use dpkg-statoverride --update or --list to find out
whether it is wanted.
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/