[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)



>>>>> "Julian" == Julian Gilbey <J.D.Gilbey@qmw.ac.uk> writes:

    Julian> From the example /usr/(share/)doc/debhelper/examples/rules
    Julian> in potato: [...]

    Julian> dh_fixperms

    Julian> # You may want to make some executables suid here.

    Julian> dh_suidregister

    Julian> [...]  The comment is part of the example....

That makes more sense. dh_make in slink doesn't do this though, potato
might be different.

My observation (nothing more/less, however, probably a good idea
in general):

This means that it is the debian maintainer's decision to have a
SetUID program, not the upstream maintainer (as dh_fixperms overrides
anything set by the upstream Makefile).

At least, the Debian maintainer must be aware of programs that are
SetUID.
-- 
Brian May <bam@debian.org>


Reply to: