summaryrefslogtreecommitdiffstats
path: root/remote/modules/sshd
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-19 17:04:39 +0100
committerJonathan Bauer2013-03-19 17:04:39 +0100
commit39504a0a89e03ddcc2d945835d69a24f53a55b90 (patch)
tree7523498607d3886f87bb1a082e0f80442c17ed88 /remote/modules/sshd
parentrenamed targets stage3.* to stage3* (diff)
downloadtm-scripts-39504a0a89e03ddcc2d945835d69a24f53a55b90.tar.gz
tm-scripts-39504a0a89e03ddcc2d945835d69a24f53a55b90.tar.xz
tm-scripts-39504a0a89e03ddcc2d945835d69a24f53a55b90.zip
fix permission for /etc/ssh/*
Diffstat (limited to 'remote/modules/sshd')
-rw-r--r--remote/modules/sshd/sshd.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/modules/sshd/sshd.build b/remote/modules/sshd/sshd.build
index aa4241e6..0b198c6c 100644
--- a/remote/modules/sshd/sshd.build
+++ b/remote/modules/sshd/sshd.build
@@ -13,6 +13,8 @@ build() {
fi
}
-post_copy() {
+post_copy() {
mkdir -p "${TARGET_BUILD_DIR}/var/run/sshd"
+
+ chmod go-rwx "${TARGET_BUILD_DIR}/etc/ssh/*"
}