Skip to content

Commit 715fa8f

Browse files
committed
8336498: [macos] [build]: install-file macro may run into permission denied error
Reviewed-by: clanger, erikj
1 parent e88a3b0 commit 715fa8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/common/FileUtils.gmk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ ifeq ($(call isTargetOs, macosx), true)
136136
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
137137
fi
138138
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
139+
$(CHMOD) u+w '$(call DecodeSpace, $@)'; \
139140
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
140141
fi
141142
endef

0 commit comments

Comments
 (0)