summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-15 23:03:46 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-15 23:03:46 +0000
commit1764da6cc8c37b3f80e26d77ed23bd586fc92d37 (patch)
treee61d789a81524a8b6902d13daff7d6b1064d1f6b /include
parentf45ef28a652f8d8cecc48ab7b9ced83caaf5592e (diff)
Prevent SSH keys from being chmoded to 644 (#664), looks like those are the only files concerned for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5135 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 065167918..c73814685 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -57,7 +57,7 @@ endif
define Image/mkfs/prepare/default
- find $(BUILD_DIR)/root -type f -not -perm +0100 | xargs chmod 0644
+ find $(BUILD_DIR)/root -type f -not -perm +0100 -not -name 'ssh_host*' | xargs chmod 0644
find $(BUILD_DIR)/root -type f -perm +0100 | xargs chmod 0755
find $(BUILD_DIR)/root -type d | xargs chmod 0755
mkdir -p $(BUILD_DIR)/root/tmp