sapienza / vagrant-php-box

Set up super fast a PHP5 development box with apache, mysql, phpmyadmin and whatever else that you may need
135 stars 62 forks source link

Setting owner user and group of synced directories to "www-data" #20

Closed hpaknia closed 7 years ago

hpaknia commented 7 years ago

I noticed owner of synced directories are not correctly set in vagrant file:

  # Sync between the web root of the VM and the 'sites' directory
  config.vm.synced_folder "sites/", "/var/www", owner: "www-data", group: "www-data"

It causes permission issues on php scripts.