diff options
Diffstat (limited to 'docker/Files')
-rw-r--r-- | docker/Files/Docker-script.sh | 6 | ||||
-rw-r--r-- | docker/Files/Start-codeserver.sh | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/docker/Files/Docker-script.sh b/docker/Files/Docker-script.sh index 752a638..dc35a3f 100644 --- a/docker/Files/Docker-script.sh +++ b/docker/Files/Docker-script.sh @@ -1,5 +1,7 @@ #!/bin/bash -chown -R www-data /Sites/online_test -chmod -R 644 /Sites/online_test +chown -R www-data /Sites/online_test +chown -R www-data /Sites/online_test/yaksh +chown -R nobody /Sites/online_test/yaksh_data +chmod -R 664 /Sites/online_test chmod -R +X /Sites /usr/sbin/apache2ctl -D FOREGROUND diff --git a/docker/Files/Start-codeserver.sh b/docker/Files/Start-codeserver.sh index 8b6ea96..019a31d 100644 --- a/docker/Files/Start-codeserver.sh +++ b/docker/Files/Start-codeserver.sh @@ -1,7 +1,6 @@ #!/bin/bash -chown -R nobody /Sites/online_test +chown -R nobody /Sites/online_test/yaksh_data 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/ +chmod -R a+rX yaksh_data/data +chmod -R o-w yaksh_data/data /usr/bin/sudo -su nobody python3 -m yaksh.code_server |