[Pkg-mc-devel] Bug#582078: mc: postin runs dpkg-architecture from dpkg-dev but not depend on dpkg-dev
Yury V. Zaytsev
yury at shurup.com
Tue May 18 13:39:40 UTC 2010
Hi!
On Tue, 2010-05-18 at 15:30 +0200, Sven Joachim wrote:
> What's wrong with
>
> DEB_FIXPERMS_EXCLUDE := /usr/lib/mc/cons.saver
>
> in debian/rules? That should exclude just this file from getting its
> permission fixed, see dh_fixperms(1).
Hmmm... this sounds pretty cool. I didn't find this solution myself for
some reason, because all of the guides dealing with dh_fixperms I
Googled were probably from the pre-CDBS era.
> > As I mentioned in the previous email, the file only gets packaged if
> > arch is Linux via mc.install.linux, so do you think it's a good idea to
> > chgrp || true in such a case unconditionally?
>
> No, because this does not give the admin the chance to override the
> permissions by using dpkg-statoverride himself.
If course I meant only if it's not on dpkg-statoverride --list already.
OK, then I will do the following:
1) DEB_FIXPERMS_EXCLUDE := /usr/lib/mc/cons.saver
2) In binary-post-install/mc give it SGID and change the group
3) Remove all arch checks for now (will use uname -s when it's needed in
the future to detect kfreebsd)
4) Remove all dpkg-statoverride stuff as it's not needed in this case.
Thank you all very much for your help.
--
Sincerely yours,
Yury V. Zaytsev
More information about the Pkg-mc-devel
mailing list