diff options
author | ankitjavalkar | 2017-12-28 19:25:51 +0530 |
---|---|---|
committer | ankitjavalkar | 2018-01-04 11:37:21 +0530 |
commit | 9a67cce12061fe63b526fdfbe03a03f6e859a044 (patch) | |
tree | bdfee5d90396d3086214ffebe5dbc17f709f13f8 /docker/Files | |
parent | ca9e214a28dd0546855863041efe7e6d8de6710e (diff) | |
download | online_test-9a67cce12061fe63b526fdfbe03a03f6e859a044.tar.gz online_test-9a67cce12061fe63b526fdfbe03a03f6e859a044.tar.bz2 online_test-9a67cce12061fe63b526fdfbe03a03f6e859a044.zip |
Add docker related changes
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 |