summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-13 13:01:59 +0100
committerSimon Rettberg2017-11-13 13:01:59 +0100
commitcfa099e7a9b1991b4903908997f4a6b5dbec8ec8 (patch)
treebe4318df9ee81add2e1b81e4cd3fba541381de76 /core
parent[lightdm-greeter-bwlp] Update config for bwlp style (diff)
downloadmltk-cfa099e7a9b1991b4903908997f4a6b5dbec8ec8.tar.gz
mltk-cfa099e7a9b1991b4903908997f4a6b5dbec8ec8.tar.xz
mltk-cfa099e7a9b1991b4903908997f4a6b5dbec8ec8.zip
[ssh*] Fix chmod expression
Diffstat (limited to 'core')
-rw-r--r--core/modules/mgmt-sshd/module.build2
-rw-r--r--core/modules/sshd/module.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/mgmt-sshd/module.build b/core/modules/mgmt-sshd/module.build
index 37b7a4f7..4efccbe9 100644
--- a/core/modules/mgmt-sshd/module.build
+++ b/core/modules/mgmt-sshd/module.build
@@ -8,5 +8,5 @@ build() {
}
post_copy() {
- chmod -R go-rwX "${TARGET_BUILD_DIR}/etc/ssh"
+ chmod -R go-rwx "${TARGET_BUILD_DIR}/etc/ssh"
}
diff --git a/core/modules/sshd/module.build b/core/modules/sshd/module.build
index 2bcac7ae..fed20806 100644
--- a/core/modules/sshd/module.build
+++ b/core/modules/sshd/module.build
@@ -17,5 +17,5 @@ build() {
post_copy() {
mkdir -p "${TARGET_BUILD_DIR}/var/lib/empty" # suse
- chmod go-rwX "${TARGET_BUILD_DIR}/etc/ssh"
+ chmod -R go-rwx "${TARGET_BUILD_DIR}/etc/ssh"
}