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 9c7838f commit b8517f7Copy full SHA for b8517f7
make/terminal/entrypoint.sh
@@ -45,6 +45,16 @@ SSHD_EOF
45
46
echo "SSH timeout configuration applied successfully"
47
48
+# Fix terminal directory permissions if mounted from host
49
+echo "Fixing terminal directory permissions..."
50
+if [ -d "/opt/terminal" ]; then
51
+ chown -R $DEV_USER:$DEV_USER /opt/terminal 2>/dev/null || true
52
+ chmod 755 /opt/terminal 2>/dev/null || true
53
+ echo "✅ Terminal directory permissions fixed"
54
+else
55
+ echo "⚠️ Terminal directory not found"
56
+fi
57
+
58
# Start SSH service
59
if [ $# -gt 0 ]; then
60
exec "$@"
0 commit comments