Bartosz Fenski aka fEnIo skrev:
3. Use dpkg-statoverride in your postinst script.
Don't do this, just ship the file in the package with the correct permissions. dpkg-statoverride is (mostly) an admin tool which lets you change default permissions.
See http://lists.debian.org/debian-devel/2001/05/msg00149.html and the thread surrounding it for more information.
- tfheen