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.


Have a look at dh_fixperms. Either don't run it or use chown after you call dh_fixperms. I guess that another way would be to run chown in postinst.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.