Skip to content

Commit 9a51308

Browse files
committed
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.
1 parent 8f00c5e commit 9a51308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/Packaging.Linux/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ if [ ! -f "$LINK_TO/git-credential-manager" ]; then
126126
"$LINK_TO/git-credential-manager" || exit 1
127127
fi
128128

129-
dpkg-deb -Zxz --build "$DEBROOT" "$DEBPKG" || exit 1
129+
dpkg-deb -Zxz --root-owner-group --build "$DEBROOT" "$DEBPKG" || exit 1
130130

131131
echo $MESSAGE

0 commit comments

Comments
 (0)