Your message dated Thu, 14 Sep 2006 03:02:21 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#387064: [Pbuilder-maint] Bug#387064: File permission could
be mangled
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: pbuilder
Version: 0.158
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is some really obscure issue. I'm maintaining docbook-xsl. I'm
currently building version 1.71.0.dfsg.1-1. When I build this version
with pbuilder, the file
/usr/share/xml/docbook/stylesheet/nwalsh/slides/keynote/xsltsl/cmp.xsl
gets executable file permissions (0755). The checkout is made from CVS
(using cvs-buildpackage). The file itself has only 0600 file permissons
(definitely no executable tag). When I build the package with debuild,
everything is ok. But when I use pbuilder, the file get's executable
flags added, which results in a lintian warning.
You can try it youself (with cvs-buildpackage installed, and a SID
chroot):
$ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/debian-xml-sgml \
co -d pkg-doc-xsl docbook-xsl
$ cd pkg-docbook-xsl
$ cvs-buildpackage -C'pdebuild'
The result is:
$ dpkg-deb -c docbook-xsl_1.71.0.dfsg.1-1_all.deb | grep cmp.xsl
- -rwxr-xr-x root/root 11589 2006-07-04 06:35
./usr/share/xml/docbook/stylesheet/nwalsh/slides/keynote/xsltsl/cmp.xsl
W: docbook-xsl: executable-not-elf-or-script
./usr/share/xml/docbook/stylesheet/nwalsh/slides/keynote/xsltsl/cmp.xsl
N:
N: This executable file is not an ELF format binary, and does not start
N: with the #! sequence that marks interpreted scripts. It might be a sh
N: script that fails to name /bin/sh as its shell.
N:
N: Refer to Policy Manual, section 10.4 for details.
N:
But when I simply build it with debuild:
dpkg-deb -c docbook-xsl_1.71.0.dfsg.1-1_all.deb | grep cmp.xsl
- -rw-r--r-- root/root 11589 2006-07-04 06:35
./usr/share/xml/docbook/stylesheet/nwalsh/slides/keynote/xsltsl/cmp.xsl
The source should also be soon in Debian. So you can avoid
cvs-buildpackage and instead use apt-get source.
Or if there is any other way to help to solve this issue, please just
tell me and I will do my best to provide the information you need. But
this is really obscure.
Regards, Daniel
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.08060320
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages pbuilder depends on:
ii cdebootstrap 0.3.13 Bootstrap a Debian system
ii coreutils 5.97-5 The GNU core utilities
ii debianutils 2.17.1 Miscellaneous utilities specific t
ii debootstrap 0.3.3 Bootstrap a basic Debian system
ii gcc 4:4.1.1-7 The GNU C compiler
ii wget 1.10.2-2 retrieves files from the web
Versions of packages pbuilder recommends:
pn cowdancer <none> (no description available)
ii devscripts 2.9.21 Scripts to make the life of a Debi
ii fakeroot 1.5.10 Gives a fake root environment
ii sudo 1.6.8p12-4 Provide limited super user privile
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFBf/tdg0kG0+YFBERAroSAJ43jrn1tzFKEPOKQ+FNKES0vz15zQCfQEIZ
UHHQG6p60t24rRVYVpYutHc=
=kylV
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Closing this bug.
Am Mittwoch, den 13.09.2006, 21:41 +0900 schrieb Junichi Uekawa:
> Hi,
>
> > > 2. Does setting umask inside debian/rules help?
> >
> > I guess, it would (I can also exolicetly set the file permissions back
> > to 0644 in debian/rules). But it will of course not solve the issue
> > itself. Only the mentioned file gets executable flags. All other file
> > permissions stay "unchanged".
>
> Can you try with building the package outside of pbuilder;
>
> unpack the *dsc file and see what's wrong or if you could reproduce?
I'm really sorry for the trouble I've caused. I have no idea, what
happened yesterday, when I tried to figure out, what was going on. The
file comes with executable flags set. I'm _really_ sorry. It is not a
bug in pbuilder.
Regards, Daniel
--- End Message ---