Bug#636906: dh-ocaml: Lintian warnings about non-standard-{file,dir}-perm
Package: dh-ocaml
Version: 1.0.1
Severity: normal
After building hivex 1.2.7-2 in an sbuild chroot, I got the following
Lintian warnings about files and directories that are added by dh-ocaml:
,----
| W: libhivex-ocaml-dev: non-standard-dir-perm var/ 0775 != 0755
| W: libhivex-ocaml-dev: non-standard-dir-perm var/lib/ 0775 != 0755
| W: libhivex-ocaml-dev: non-standard-dir-perm var/lib/ocaml/ 0775 != 0755
| W: libhivex-ocaml-dev: non-standard-dir-perm var/lib/ocaml/lintian/ 0775 != 0755
| W: libhivex-ocaml-dev: non-standard-file-perm var/lib/ocaml/lintian/libhivex-ocaml-dev.info 0664 != 0644
| W: libhivex-ocaml-dev: non-standard-dir-perm var/lib/ocaml/md5sums/ 0775 != 0755
| W: libhivex-ocaml-dev: non-standard-file-perm var/lib/ocaml/md5sums/libhivex-ocaml-dev.md5sums 0664 != 0644
`----
Adding debug code to debian/rules shows me that sbuild has set the umask
to 0002 while it is set to 0022 when I do not use sbuild.
I think that dh-ocaml should make sure that the files and directories it
creates have the right permissions. The easiest solution would probably
be to just set the umask to 0022.
Cheers,
-Hilko
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
dh-ocaml depends on no packages.
Versions of packages dh-ocaml recommends:
ii debhelper 8.9.3 helper programs for debian/rules
ii ocaml-nox 3.12.0-7 ML implementation with a class-bas
Versions of packages dh-ocaml suggests:
ii git 1:1.7.5.4-1 fast, scalable, distributed revisi
-- no debconf information
Reply to: