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

On not using suidregister (again)



My understanding was that we're not using suidregister in
postinst now, and instead setting the ownership/permissions in
the package itself.

So I moved this from postinst:

        if [ -x /usr/sbin/suidregister ]; then
           suidregister -s jazip /usr/bin/jazip root floppy 4754
        else       
            chown root.floppy /usr/bin/jazip
            chmod 4754 /usr/bin/jazip
        fi

to this on debian/rules :

        install -m 4755 -g floppy jazip debian/tmp/usr/bin

The problem is that fakeroot is _not_ setting the ownership
in the package.  

Do I still need to do the `chown root.floppy /usr/bin/jazip' in
postinst?

Thanks,
Peter



Reply to: