From: Peter Korsgaard Date: Thu, 7 Jul 2011 08:53:18 +0000 (+0200) Subject: Makefile.package.in: extract: only ensure r/w access for user X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f2542595f69734d61d208bfbf1094901be5432f;p=buildroot.git 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 --- 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 $@