mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-11-22 12:05:41 +01:00
fix .ssh perms
This commit is contained in:
parent
04cdba5c2b
commit
76b18b2e80
@ -25,3 +25,7 @@ fi
|
||||
# fix permissions (ignore contents of /config/workspace)
|
||||
find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
|
||||
chown abc:abc /config/workspace
|
||||
chmod 700 /config/.ssh
|
||||
if [ -n "$(ls -A /config/.ssh)" ]; then
|
||||
chmod 600 /config/.ssh/*
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user