I'm trying to setup Vagrant with a Symfony project using the box "ubuntu/trusty64". I have the following inside my provisioning file
echo "Installing acl"
apt-get install acl
mount -o remount,acl /
echo "Setting symfony log and cache permissions"
HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX /var/www/app/cache /var/www/app/logs
setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX /var/www/app/cache /var/www/app/logs
However setfacl is failing with setfacl: /var/www/app/cache: Operation not supported
If I run mount | grep acl
I can see the root drive which suggests acl is correct setup on the root partition.
Without these permissions setup I am unable to run any of the symfony generator commands.