From patchwork Thu Apr 4 13:25:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 13617842 Received: from fhigh3-smtp.messagingengine.com (fhigh3-smtp.messagingengine.com [103.168.172.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E79F476023 for ; Thu, 4 Apr 2024 13:25:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.154 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712237141; cv=none; b=HF1PKMqZQv0OQeuaof81Pm0U1oqeaWfPUsjwD/mT7L2XUrdhPRDHi+fFzoBgVHAuHBwNyENwSgbW7f936IOHW880aB8u9x3MuQCJ5lZ96siRiqp8pRK1fE2i0jAIKo+Y79A4zcG5l9iNBFCp7taQaCy7DQxITIWu2n9vBtIvJjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712237141; c=relaxed/simple; bh=JU8U6sFqKR7fduZ234TTX/9aVsyR2nLIJROH95Jed3E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ow2tt8FtxiwB1bnjkoRjCi5vounipjzbVQ4z/qbLhHS6+NztrWPrC9Sf16RSCeMcOw+yHOlasfnYFJ0lBxponpOb51Lj/VNklxDRXocIbskYzLKbOTe32RfJNJOQeEa1jxKLlKBbVUwDa6UiJWemUpaMIdac5KTTEQ5iIE8eWcE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=VnKLikxA; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=WfO4HKyn; arc=none smtp.client-ip=103.168.172.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="VnKLikxA"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="WfO4HKyn" Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 06B33114013A; Thu, 4 Apr 2024 09:25:39 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 04 Apr 2024 09:25:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1712237139; x=1712323539; bh=wHNTpD+yq7 kH1api0ikjRYYy53ZE1voW5xQDJIkzB/Q=; b=VnKLikxAIM+74/qONLj+v9UA/v wHXvp22k5cZGQOu11wgtk3OtCtLsZsRIYJ5WJDiQlFyONo+PGFAZ3hpPOwl6YYab I10rClHyKfmoonw41Pgjk7sJNPs2BHbh0+InAjbt3XefphGD785HVcfxsOjBzcVz 7eTQvcjRe7F1IRS34KB8U8j2juHRcSoLMsDfPxCUaL1I9nISEur/nt95ir0JgbXZ CFjPDrjiFGjAKlC0Z9hK34lXNzkyT//BP3hSObSc1Fte18+LRYcEp+bOES1AbKgu cR5hDpdkRefLKDb6oUHAxa6qO2lEIEVQ9GpOip2hBnjKoHUCdXtR86zTd8+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712237139; x=1712323539; bh=wHNTpD+yq7kH1api0ikjRYYy53ZE 1voW5xQDJIkzB/Q=; b=WfO4HKyn6k353tdnWJUCTYp2KyFqMiH612iogqsogBkX zKnVbjqpigTMUFNRnQFHrPal8Xsw8/pOfT/Cqvr9mxLU6KEGNM9YKphUeSTpQAxT X034ud+sCS4ZJn2cqJGH6+7k2duShmngyd21JIZiwhBt2sW3D7k9mWzXHXYfE4Rg GSoPz3J5tVD3Oi8G1IHevZlDjAIvE6v+FBCMtWpS6jYq9cUe/ogtRNyaRd9xyY/K 3GIc0HczKXCr7f4xNYZEfd1Eo1jrVwq01mzKk+4BpOl5czg0tvgLnUFmEVBf9TMN KLjBbq0yOi6KkQ1nnRepPG0hrrIjQlzZh0sH8Lj6Yg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefkedgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomheprfgrthhr ihgtkhcuufhtvghinhhhrghrughtuceophhssehpkhhsrdhimheqnecuggftrfgrthhtvg hrnhepueektdevtdffveeljeetgfehheeigeekleduvdeffeeghefgledttdehjeelffet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhsse hpkhhsrdhimh X-ME-Proxy: Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 4 Apr 2024 09:25:37 -0400 (EDT) Received: by localhost (OpenSMTPD) with ESMTPSA id a51412ab (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 4 Apr 2024 13:25:34 +0000 (UTC) Date: Thu, 4 Apr 2024 15:25:35 +0200 From: Patrick Steinhardt To: git@vger.kernel.org Cc: Han-Wen Nienhuys , Josh Steadmon , Luca Milanesio , JGit Developers list Subject: [PATCH 08/12] ci: make Perforce binaries executable for all users Message-ID: <22f86f8ccb9f3fb7f98ff57ddd09724fc9e44628.1712235356.git.ps@pks.im> References: Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: The Perforce binaries are only made executable for the current user. On GitLab CI though we execute tests as a different user than "root", and thus these binaries may not be executable by that test user. Fix the setup so that we set the executable bits for all users. Signed-off-by: Patrick Steinhardt --- ci/install-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh index f4eb125fd2..068c478025 100755 --- a/ci/install-dependencies.sh +++ b/ci/install-dependencies.sh @@ -47,7 +47,7 @@ ubuntu-*) mkdir --parents "$CUSTOM_PATH" wget --quiet --directory-prefix="$CUSTOM_PATH" \ "$P4WHENCE/bin.linux26x86_64/p4d" "$P4WHENCE/bin.linux26x86_64/p4" - chmod u+x "$CUSTOM_PATH/p4d" "$CUSTOM_PATH/p4" + chmod a+x "$CUSTOM_PATH/p4d" "$CUSTOM_PATH/p4" wget --quiet "$LFSWHENCE/git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz" tar -xzf "git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz" -C "$CUSTOM_PATH" --strip-components=1 "git-lfs-$LINUX_GIT_LFS_VERSION/git-lfs"