Skip to content

Commit b682b1f

Browse files
committed
8336498: [macos] [build]: install-file macro may run into permission denied error
8342858: Make target mac-jdk-bundle fails on chmod command Reviewed-by: lucy Backport-of: 715fa8f9fe7242e86b985aece3d078b226f53fb9
1 parent 7b2a675 commit b682b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/common/MakeBase.gmk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ ifeq ($(call isTargetOs, macosx), true)
289289
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
290290
fi
291291
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
292+
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
292293
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
293294
fi
294295
endef

0 commit comments

Comments
 (0)