Makefile.package.in: extract: only ensure r/w access for user
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 7 Jul 2011 08:53:18 +0000 (10:53 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 7 Jul 2011 08:53:18 +0000 (10:53 +0200)
There's no reason to make the source files writable for everyone.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.package.in

index 4bd40ba530a45f4211bd84b62de88dc3e089775f..6b63bae0807f6bd8e3990f2c7fd29f664e4f1fc2 100644 (file)
@@ -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 $@