From 5d1fffaa4b8d1aa076541b721da8ea57362d4669 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 29 Jun 2016 11:32:16 +0200 Subject: [PATCH] vagrant in group www-data --- lamp-trusty64-fpm/bootstrap.sh | 2 ++ lamp-xenial64-fpm/bootstrap.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lamp-trusty64-fpm/bootstrap.sh b/lamp-trusty64-fpm/bootstrap.sh index cbfc404..f4c5bf6 100644 --- a/lamp-trusty64-fpm/bootstrap.sh +++ b/lamp-trusty64-fpm/bootstrap.sh @@ -187,3 +187,5 @@ sudo a2ensite $VHOSTS # --- Restart apache sudo service apache2 restart + +sudo usermod -a -G www-data vagrant diff --git a/lamp-xenial64-fpm/bootstrap.sh b/lamp-xenial64-fpm/bootstrap.sh index 36b51f6..fc0d5d5 100644 --- a/lamp-xenial64-fpm/bootstrap.sh +++ b/lamp-xenial64-fpm/bootstrap.sh @@ -184,3 +184,5 @@ sudo a2ensite $VHOSTS # --- Restart apache sudo service apache2 restart + +sudo usermod -a -G www-data vagrant