diff --git a/_one-click-installation/bootstrap.sh b/_one-click-installation/bootstrap.sh index 541aee348..805c1f980 100644 --- a/_one-click-installation/bootstrap.sh +++ b/_one-click-installation/bootstrap.sh @@ -77,6 +77,10 @@ sudo mysql -h "localhost" -u "root" "-p${PASSWORD}" < "/var/www/html/${PROJECTFO # writing rights to avatar folder sudo chown -R www-data "/var/www/html/${PROJECTFOLDER}/public/avatars" + +# If you are working with Vagrant, adding the www-data user to vagrant's group let you upload images to the avatars folder with 755 permissions. Of course, it also applies to other folders. +#sudo usermod -a -G vagrant www-data + # if this didn't work for you, you can also try the hard way: #sudo chmod 0777 -R "/var/www/html/${PROJECTFOLDER}/public/avatars"