-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provisioning with Apache + VBox default = 403 error #258
Comments
Just got bitten by this again on a new machine. The permissions for the /vagrant folder is: Apache runs under This can be worked around by simply making sure the shared folder files are owned by www-data, like so: I haven't done testing on alternative file systems or Nginx, but the line above should work for any standards-compliant shared folder implementation. Could someone please review this? @naxhh |
ping @phansible/core-dev I'm curious why you have this issue since was not reported by anyone else yet. I'll try to quick check this at home today. |
Virtualbox 4.3.34, OSX 10.10.5, Vagrant 1.6.5 It's unlikely this behaviour changes between VBox / OS versions. It feels more likely that few people have used the combo:
If you try to provision a box with those settings, I'm confident the issue will emerge. Edit: Added Vagrant version |
I didn't run any test yet but now that I read the various comments again it reminds me that yes, when you do use NFS share permissions are |
When using Apache as the web server with "VBox default" synced folder , it breaks when you try to access http:// :
A 403 error is displayed. The following error is logged in
/etc/apache2/error.log
:Probably related to pemissions of the vagrant folder, since
vagrant:vagrant
owns the folder and Apache is run underwww-data:www-data
The text was updated successfully, but these errors were encountered: