]> 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)
committerDavid Galloway <david.galloway@ibm.com>
Tue, 26 Aug 2025 20:08:47 +0000 (16:08 -0400)
commit4ed5d15c752f6aaad1a6ef2aabdc6e4f2eb5992a
treef74b91c3bdd687ae00e70705166571528d404e45
parent00c3a4fea2046c66bb6b6f7eb03dbaaf78d1d944
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)
make-debs.sh