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

Re: transition from suidmanager to dpkg-statoverride

peter karlsson wrote:
> A program I packaged (jwhois, I am taking over maintainership of it
> officially with its new version as well) uses suidmanager, but since it
> creates a group on installation, it cannot have the setgid bit in the
> package; can I still do my chmod'ing in postinst, and just remove the
> calls I have to suidmanager.

Hmm. If you run chrmod in the postinst, you will clobber any different
permissions that the user has set with statoverride.

I think it may work to examine dpkg-statoverride --list file, and if a
statoverride is set, do nothing, else do the chmod/chgrp.

see shy jo

Reply to: