the only solution I found was to execute manually the chown/chmod commands at the end of the setfilepermissions.sh script…
My environment:
ubuntu 14.04.5 (trusty) on a vagrant box (ubuntu/trusty64), running under virtualbox.
By the way, I decided to rise the default ram size up to 1024MB, instead of increasing the swap space, in order to avoid the composer error while installing…