]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Fri, 10 Oct 2025 18:34:41 +0000 (18:34 +0000)
commita0074df6d034ba8f23a4789c79c0ed4a63073b04
tree3c33036c1f20f054409c912ad8e18aceaca3137b
parent157c025da68b5d30bb35f5f728f3e4cf5d220791
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 4ed5d15c752f6aaad1a6ef2aabdc6e4f2eb5992a)
make-debs.sh