From: Vincent Vanwaelscappel Date: Thu, 18 Jan 2024 11:23:14 +0000 (+0100) Subject: wip #6639 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=913bcb434d9ee2e25582e16b0aa8fa9e909d8982;p=fluidbook-toolbox.git wip #6639 @0.25 --- diff --git a/scripts/fixrights.sh b/scripts/fixrights.sh index a9c52cc69..6fe1cfc59 100644 --- a/scripts/fixrights.sh +++ b/scripts/fixrights.sh @@ -1,10 +1,12 @@ #!/bin/sh find /home/toolbox/www/ -type d -prune -o -exec chown -R toolbox:www-data {} \; +find /data/toolbox/protected/ -type d -prune -o -exec chown -R toolbox:www-data {} \; chown root:root /home/toolbox/www/.docker/config/sudoers chown root:root /home/toolbox/www/.docker/config/cron/host chmod -R 755 /home/toolbox/www/scripts chmod -R 775 /home/toolbox/www/protected +chmod -R 775 /data/toolbox/protected chmod -R 775 /home/toolbox/www/public chmod -R 775 /home/toolbox/www/bin @@ -17,10 +19,10 @@ chmod -R 775 /home/toolbox/dev/protected chmod -R 775 /home/toolbox/dev/public chmod -R 775 /home/toolbox/dev/bin -find /home/toolbox/alpha/ -type d -prune -o -exec chown -R toolbox:www-data {} \; -chown root:root /home/toolbox/alpha/.docker/config/sudoers -chown root:root /home/toolbox/alpha/.docker/config/cron/host -chmod -R 775 /home/toolbox/alpha/scripts -chmod -R 775 /home/toolbox/alpha/protected -chmod -R 775 /home/toolbox/alpha/public -chmod -R 775 /home/toolbox/alpha/bin +find /data/toolbox/alpha/ -type d -prune -o -exec chown -R toolbox:www-data {} \; +chown root:root /data/toolbox/alpha/.docker/config/sudoers +chown root:root /data/toolbox/alpha/.docker/config/cron/host +chmod -R 775 /data/toolbox/alpha/scripts +chmod -R 775 /data/toolbox/alpha/protected +chmod -R 775 /data/toolbox/alpha/public +chmod -R 775 /data/toolbox/alpha/bin