X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2bb798169d0ed5dc2b3d9b21a417a0d606c94994..9d12c363e3651e37bfa295bcba69aeaf0c842f9e:/include/image.mk diff --git a/include/image.mk b/include/image.mk index 7de2d6346..3341f10e5 100644 --- a/include/image.mk +++ b/include/image.mk @@ -103,9 +103,9 @@ endif define Image/mkfs/prepare/default - find $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' | $(XARGS) chmod 0644 - find $(TARGET_DIR) -type f -perm +0100 | $(XARGS) chmod 0755 - find $(TARGET_DIR) -type d | $(XARGS) chmod 0755 + - find $(TARGET_DIR) -type f -not -perm +0100 -not -name 'ssh_host*' | $(XARGS) chmod 0644 + - find $(TARGET_DIR) -type f -perm +0100 | $(XARGS) chmod 0755 + - find $(TARGET_DIR) -type d | $(XARGS) chmod 0755 $(INSTALL_DIR) $(TARGET_DIR)/tmp chmod 0777 $(TARGET_DIR)/tmp endef