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

Re: debhelper: dh_fixperms should come after dh_suidregister (was: Re: setgid stuff)



On Sat, Nov 27, 1999 at 06:15:04PM +0000, Julian Gilbey wrote:
> Package: debhelper
> Version: 2.0.74
> 
> On Sat, Nov 27, 1999 at 12:26:50PM +1100, Brian May wrote:
> > >>>>> "Julian" == Julian Gilbey <J.D.Gilbey@qmw.ac.uk> writes:
> > 
> >     Julian> Note the dh_fixperms is at the end of this sequence, and
> >     Julian> must be: Debian packages should not ship with any special
> >     Julian> bits set (except for symlinks and directories).
> > 
> > The slink version of debhelper puts "dh_fixperms" before
> > "dh_suidregister":
> > 
> >         dh_fixperms -a
> >         dh_suidregister -a
> > 
> > I hope this has been fixed in the potato version...
> 
> No it hasn't (at least not in the examples).

>From the dh_suidregister manpage:

       Also note that all files registered by this  program  will
       *not*  be suid in the resulting .deb file. The postinst of
       the package will set their permissions (even if  the  user
       doesn't have suidmanager installed).

dh_suidregister clears the bits after adding the proper commands to the scripts.

Adam


Reply to: