diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-18 10:53:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-18 10:53:14 -0400 |
commit | 0a9abc9fcc85d512a16e3c553f88091c78ff4354 (patch) | |
tree | ec04ac39609f502e5f78831fbdd188ab6376e64a /dh_installchangelogs | |
parent | e004f193b15b7d1f2b398f8469de74b1d45e67be (diff) |
ensure files come out owned by root
dh_fixperms may not always be run after dh_installchangelogs
Diffstat (limited to 'dh_installchangelogs')
-rwxr-xr-x | dh_installchangelogs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_installchangelogs b/dh_installchangelogs index ae61f1ee..58dad3c2 100755 --- a/dh_installchangelogs +++ b/dh_installchangelogs @@ -114,6 +114,9 @@ sub install_binNMU_changelog { close $output or error("Couldn't close $output_fn: $!"); utime $stat[8], $stat[9], $output_fn; + chown 0, 0, $output_fn, $output_fn_binary + or error "chown: $!"; + umask $mask; return 1; |