From 715fa8f9fe7242e86b985aece3d078b226f53fb9 Mon Sep 17 00:00:00 2001 From: Lutz Schmidt Date: Wed, 21 Aug 2024 08:23:31 +0000 Subject: [PATCH] 8336498: [macos] [build]: install-file macro may run into permission denied error Reviewed-by: clanger, erikj --- make/common/FileUtils.gmk | 1 + 1 file changed, 1 insertion(+) diff --git a/make/common/FileUtils.gmk b/make/common/FileUtils.gmk index 114f3adefbe..cda5932395f 100644 --- a/make/common/FileUtils.gmk +++ b/make/common/FileUtils.gmk @@ -136,6 +136,7 @@ ifeq ($(call isTargetOs, macosx), true) $(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \ fi if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \ + $(CHMOD) u+w '$(call DecodeSpace, $@)'; \ $(XATTR) -cs '$(call DecodeSpace, $@)'; \ fi endef