Skip to content

Commit

Permalink
linux: ensure Debian package files are owned by root
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mjcheetham committed Apr 18, 2024
1 parent 8f00c5e commit 9a51308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/Packaging.Linux/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9a51308

Please sign in to comment.