[Debian-med-packaging] Bug#663490: A fix for this bug

雨蒼 billy3321 at gmail.com
Sun Apr 29 10:33:25 UTC 2012


The permission bug is occured at the first time import the libtiff module.
It need libtiff4-dev package to generate the tiff_h_4_0_1.py at the
path /usr/lib/python2.7/dist-packages/libtiff/ which need root
permission.

So I added the depends of libtiff4-dev as Depends: of the binary
package, and added a postinstall script to import it once to generate
tiff_h_4_0_1.py when running as root.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylibtiff_fixed_663490.patch
Type: application/octet-stream
Size: 1558 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20120429/fe4ab4a3/attachment-0001.obj>


More information about the Debian-med-packaging mailing list