]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
make-debs.sh: invoke tar with --no-same-owner
authorDan Mick <dan.mick@redhat.com>
Sat, 23 Aug 2025 00:43:24 +0000 (17:43 -0700)
committerDavid Galloway <david.galloway@ibm.com>
Mon, 8 Sep 2025 18:27:23 +0000 (14:27 -0400)
commitb87fabc69de49191f093b0beb1b325ffd4d3dd67
tree73335141631b73e91563ddc2b4cbc77de368efe9
parent34b7a65c8e778641d5599cd1b5de509299b6c546
make-debs.sh: invoke tar with --no-same-owner

When running as a normal user, tar does not attempt to preserve
owners set on the tar content files.  When running as root, it does.
Containerized builds are running as root.  Stop make-debs.sh from
trying to set other owners for files, and leaving files in the
host system with mapped UIDs other than the user running the container
(which causes jenkins to be unable to clear the workspace).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 46c540444dd0dc4b4572e71ef452436a3b580d51)
(cherry picked from commit 431e48ff3a1167ec44ffe503e6640e3eff09885a)
make-debs.sh