summaryrefslogtreecommitdiff
path: root/docker/Files/Start-codeserver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Files/Start-codeserver.sh')
-rw-r--r--docker/Files/Start-codeserver.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/Files/Start-codeserver.sh b/docker/Files/Start-codeserver.sh
new file mode 100644
index 0000000..8b6ea96
--- /dev/null
+++ b/docker/Files/Start-codeserver.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+chown -R nobody /Sites/online_test
+chmod -R a+rwX yaksh_data/output
+chmod -R a+rX yaksh_data/data yaksh_data/yaksh
+chmod -R o-w yaksh_data/data yaksh
+chmod -R +X /Sites/online_test/
+/usr/bin/sudo -su nobody python3 -m yaksh.code_server