From 89cfdc98998729a866694902df1992fde29e4760 Mon Sep 17 00:00:00 2001 From: Paul Wagener Date: Thu, 1 May 2014 16:12:26 +0200 Subject: [PATCH] Update permissions for image site --- build-vm/boot.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-vm/boot.sh b/build-vm/boot.sh index 96ad4a1..b3173e4 100755 --- a/build-vm/boot.sh +++ b/build-vm/boot.sh @@ -5,6 +5,7 @@ echo cd /home/security/workshop # Update repository +git clean -f git pull origin master # Update Apache configuration @@ -13,6 +14,9 @@ a2dissite 000-default a2ensite security-workshop service apache2 reload +# Update permissions +chmod o+w image/uploads + # Update database echo "Resetting database" mysql -u root < build-vm/database.sql