X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Fimage.mk;h=3341f10e5095aafdd4f8615287d342410efc3270;hb=921622e9d1fd6ead8160e3ca6eac3e8461ea2dc8;hp=7de2d6346e7fbd078dbdf8b0dab9430b475155bd;hpb=1b6abde7863e562f129a7c192f63c45a4e4e3ce9;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/include/image.mk b/include/image.mk index 7de2d6346e..3341f10e50 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