From 2f2542595f69734d61d208bfbf1094901be5432f Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 7 Jul 2011 10:53:18 +0200 Subject: [PATCH] Makefile.package.in: extract: only ensure r/w access for user There's no reason to make the source files writable for everyone. Reported-by: Arnout Vandecappelle Signed-off-by: Peter Korsgaard --- package/Makefile.package.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile.package.in b/package/Makefile.package.in index 4bd40ba530..6b63bae080 100644 --- a/package/Makefile.package.in +++ b/package/Makefile.package.in @@ -246,7 +246,7 @@ $(BUILD_DIR)/%/.stamp_extracted: $(Q)$(if $($(PKG)_SOURCE),$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \ $(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -) # some packages have messed up permissions inside - $(Q)chmod -R ug+rw $(@D) + $(Q)chmod -R +rw $(@D) $(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep)) $(Q)touch $@ -- 2.30.2