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 <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a78063a616
commit
2f2542595f
@ -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 $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user