Skip to content

Commit 57d9d4a

Browse files
committed
prepare_dist_from_bzr.sh: Force numeric owner 0/0 on TAR files.
1 parent 0005c56 commit 57d9d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/prepare_dist_from_bzr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ $SEVENZA a -t7z "$DEST_DIR/$SRC_DIR".7z "$SRC_DIR" >/dev/null \
8585
& $SEVENZA a -tzip "$DEST_DIR/$SRC_DIR".zip "$SRC_DIR" >/dev/null
8686

8787
TAR_FILE="$SRC_DIR".tar
88-
$TAR -c --format=posix -f "$TAR_FILE" "$SRC_DIR"
88+
$TAR -c --format=posix --numeric-owner --owner=0 --group=0 -f "$TAR_FILE" "$SRC_DIR"
8989

9090
$XZ -e -c "$TAR_FILE" >"$DEST_DIR/$TAR_FILE".xz \
9191
& $BZIP2 -9 -c "$TAR_FILE" >"$DEST_DIR/$TAR_FILE".bz2 \

0 commit comments

Comments
 (0)