Bug#247415: [xml/sgml-pkgs] Bug#247415: docbook-utils: Build from source results in broken db2html permissions

Ardo van Rangelrooij Ardo van Rangelrooij <ardo@debian.org>, 247415@bugs.debian.org
Thu, 20 May 2004 20:26:37 -0500


Daniel Schepler (schepler@math.berkeley.edu) wrote:
> package docbook-utils
> reopen 247415
> thanks
> 
> Ardo van Rangelrooij <ardo@debian.org> writes:
> 
> > Hi,
> >
> > Yeah, sorry about that.  When I moved the source onto alioth, the permissions got lost
> > in the CVS repository.  That's fixed now and I've uploaded a new version.
> 
> Umm, that doesn't help when using "apt-get source docbook-utils",
> since db2html is created by the diff.gz part and thus doesn't have its
> permissions preserved by dpkg-source.  You need to put something in
> debian/rules to make sure the permissions are correct -- either chmod
> +x debian/db2html before it's copied, or use something like install -m
> 755 debian/db2html debian/docbook-utils/usr/bin/.

Yeah, me stupid.  I've fixed it now by doing a chmod.  It's a bit of a
crude hack, but that's only because db2html is in the debian directory.
The proper way to fix it would be to move it to the bin directory and
have the Makefile there handle it (including the various db2* symlinks).

Maybe something for the future...

Thanks,
Ardo
-- 
Ardo van Rangelrooij                                     Debian XML/SGML Group
<ardo@debian.org>              <debian-xml-sgml-devel@lists.alioth.debian.org>
http://people.debian.org/~ardo/      http://debian-xml-sgml.alioth.debian.org/