We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 894f3b2 commit 7579ec2Copy full SHA for 7579ec2
root/etc/s6-overlay/s6-rc.d/init-code-server/run
@@ -31,5 +31,7 @@ find /config -path /config/workspace -prune -o -exec chown abc:abc {} +
31
chown abc:abc /config/workspace
32
chmod 700 /config/.ssh
33
if [[ -n "$(ls -A /config/.ssh)" ]]; then
34
- chmod 600 /config/.ssh/*
+ find /config/.ssh/ -type d -exec chmod 700 '{}' \;
35
+ find /config/.ssh/ -type f -exec chmod 600 '{}' \;
36
+ find /config/.ssh/ -type f -iname '*.pub' -exec chmod 644 '{}' \;
37
fi
0 commit comments