diff --git a/run.sh b/run.sh
index 94f810e5326cf27f994447c79af4aca788695464..afe95514e74509290c4e0650cf18882c6bf941ed 100644
--- a/run.sh
+++ b/run.sh
@@ -9,5 +9,5 @@ if [ -e "/vagrant/build.sh" ]; then
 fi
 
 if [ -e "/vagrant/build_as_vagrant.sh" ]; then
-    bash /vagrant/build_as_vagrant.sh
+    su - vagrant -c "bash /vagrant/build_as_vagrant.sh"
 fi