I can create a .deb package successfully with all the file owner fields set correctly. Unfortunately the permission fields are ignores. For example I install one file with:
install -v -cm 400 -o ${user} *.pl ${DESTDIR}${dir}
but all the files in the package are 644 anyways. How can I force different permissions?