aboutsummaryrefslogtreecommitdiff
path: root/docker/s6/openssh
diff options
context:
space:
mode:
authorJean-Philippe Roemer <roemer.jp@gmail.com>2015-11-04 19:19:39 +0000
committerJean-Philippe Roemer <roemer.jp@gmail.com>2015-11-04 19:22:15 +0000
commit9a8aeef478f6b81cbe6d489fdc1efa2fc9f43a6b (patch)
tree0c6f78d0b7e9a09110e8aaba6ca6356f76f3e07e /docker/s6/openssh
parent603c7389b8e56740033e51b36b79e61136b46002 (diff)
Add syslog & fix `/data/git` rights & SOCAT_LINK env var
- Resolve #1893 - Add syslogd to output sshd log on stdout (via `docker logs`) - Enforce directory rights on `/data/git`, `/data/gogs` & `/data/ssh` - Add `SOCAT_LINK` environment variable to prevent the creation of scout links when they are not needed (see #1815)
Diffstat (limited to 'docker/s6/openssh')
-rwxr-xr-xdocker/s6/openssh/setup3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/s6/openssh/setup b/docker/s6/openssh/setup
index f263516b..6df5ef70 100755
--- a/docker/s6/openssh/setup
+++ b/docker/s6/openssh/setup
@@ -23,4 +23,5 @@ fi
# Set correct right to ssh keys
chown -R root:root /data/ssh/*
-chmod 600 /data/ssh/*
+chmod 0700 /data/ssh
+chmod 0600 /data/ssh/*