From 9a513087e6860b84193704ad6bb3862298d1b742 Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Thu, 18 Apr 2024 14:42:45 -0700 Subject: [PATCH] linux: ensure Debian package files are owned by root Ensure that the files included in the Debian package are owned by the root user and not which ever user on the local system built the package. --- src/linux/Packaging.Linux/pack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/Packaging.Linux/pack.sh b/src/linux/Packaging.Linux/pack.sh index 249ffb8e8..14d26aee5 100755 --- a/src/linux/Packaging.Linux/pack.sh +++ b/src/linux/Packaging.Linux/pack.sh @@ -126,6 +126,6 @@ if [ ! -f "$LINK_TO/git-credential-manager" ]; then "$LINK_TO/git-credential-manager" || exit 1 fi -dpkg-deb -Zxz --build "$DEBROOT" "$DEBPKG" || exit 1 +dpkg-deb -Zxz --root-owner-group --build "$DEBROOT" "$DEBPKG" || exit 1 echo $MESSAGE