How do I control ownership of installed package files?
I have read through the debian packaging documentation and am playing
around with it currently, however I have not yet figured out how to
control the ownership of files installed from a binary debian package.
I realize that normally installed package files should be owned by root,
however I assume that exceptions are allowed for.
When I create my package, using "dpkg-buildpackage -b -rfakeroot", the
relevent debian/tmp files are owned by my user account (not root), however
after running "dpkg -i <package_name>" as root, these files are installed
with root ownership.
Note that I used dh_make to create my initial debian control files. The
debian/rules file had a reference to dh_fixperms which seemed like it
might be the culprit here. However, commenting out the call to dh_fixperms
does not seem to make a difference.
I know the problem could be solved via a postinst script, but that doesn't
seem like a good solution to me.
Thanks in advance,