I just curious about managing file ownership in debian packages. How to preserve file ownership during building deb packages. I want a files own by a specific user when I install them.
Ubuntu – File ownership in debian packages
debian
debian
I just curious about managing file ownership in debian packages. How to preserve file ownership during building deb packages. I want a files own by a specific user when I install them.
Best Answer
Have a look at
dh_fixperms
. Either don't run it or usechown
after you calldh_fixperms
. I guess that another way would be to runchown
in postinst.