Questions tagged [synced-folder]

14 questions
10
votes
4 answers

vagrant synced folders not working real-time on virtualbox

my synced folders are not working properly, they are synced one-time at start but when I make changes on the host machine, vagrant is not syncing it real-time. First some details on my system: OS: Linux Mint 18 Sarah Virtualbox version:…
Jan Richter
  • 1,976
  • 4
  • 29
  • 49
6
votes
5 answers

Laravel Homestead folders mapping not working correctly

I have installed homestead following the steps described in the Laravel site. The installation is completed successfully. I have configured the Homestead.yaml file: --- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize:…
Florian Shena
  • 1,384
  • 4
  • 19
  • 27
4
votes
1 answer

Vagrant unable to mount shared folders - No such file or directory

I have this Vagrantfile Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty32" config.vm.hostname = "app.local" config.vm.network :private_network, ip: "192.168.20.20" config.vm.synced_folder ".", "/vagrant", :mount_options =>…
ali
  • 10,927
  • 20
  • 89
  • 138
3
votes
1 answer

Vagrant and synced folders: How to set the owner to a user other than the default vagrant user?

I am trying to set up a development environment for a Rails 2 project within a CoreOS Vagrant VM that has a number of moving parts. Once the VM is provisioned there is a Puppet script that installs all the bits and pieces and starts them up. The bit…
Dave Sag
  • 13,266
  • 14
  • 86
  • 134
2
votes
2 answers

Vagrant Error: symlink has no referent

I'm struggling with old bug/error, I'm listed a lot of possible solutions, but with no result for me. I have a Virtual Box and Vagrantfile: Vagrant.configure("2") do |config| config.vm.box = "debian/jessie64" config.vm.network "private_network",…
Deadpool
  • 735
  • 8
  • 15
2
votes
1 answer

Vagrant 1.9.5: setting permissions for the default synced folders

I need to set permissions and ownership to /vagrant in my ubuntu/xenial64 box, and I have found several great solutions for config options in the Vagrant file. My problem however is this - and I couldn't find an answer to it: My default Vagrant file…
Chransen
  • 41
  • 4
1
vote
1 answer

Where to find ubuntu vagrant's home folder on windows?

Does anyone know where I can find the home folder for vagrant on windows? I've tried typing /home/vagrant in windows file explorer but it still doesn't pop up. I've also tried using vagrant's synced folders option by reconfiguring the vagrant file…
1
vote
0 answers

Show synced folder when ssh from another PC

When I vagrant up or reload , synced folders are mounted but When I ssh from another pc , synced folders are not showing and when I ssh in the actual machine, synced folders are shown. What am I doing wrong ? Or what do I have to do? this is my…
Shena
  • 11
  • 4
1
vote
1 answer

Sync Vagrant folder in Windows with VirtualBox

I don't understand the answers that I can find to this, so I'll try to ask it again. I'm using Vagrant on a virtual machine using VirtualBox. My host machine has Windows 10. According to https://www.vagrantup.com/docs/synced-folders/basic_usage.html…
BluePrint
  • 1,926
  • 4
  • 28
  • 49
0
votes
2 answers

Identify managed folders on macOS

I often run into troubles if my clients put the SQLite database on a managed folder. With managed folder I mean: Mounted volumes Dropbox folder iCloud Drive folder FUSE and the like Is there a secure way to identify such locations to warn the…
Holtwick
  • 1,849
  • 23
  • 29
0
votes
1 answer

vagrant synced folder sub directory owner

I'm using vagrant with a synced_folder development.vm.synced_folder "/usr/local/src/www", "/var/www", owner: "www-data", group: "www-data" Is there a way to change the owner of a sub directory of the /var/www, say /var/www/images?
mmzc
  • 602
  • 8
  • 19
0
votes
2 answers

Vagrant synced folder causes contents to be erased

I'm trying to add add an additional synced folder besides the default /vagrant. I've read the documentation which indicates that this should be as simple as: config.vm.synced_folder "/path/to/somewhere/on/host", "/path/to/guest_directory", create:…
emersonthis
  • 32,822
  • 59
  • 210
  • 375
0
votes
1 answer

Vagrant: symlinked nginx configs cannot be loaded on guest's start

Conditions Vagrant 2.0.1 Vagrant Box: ubuntu/xenial64 Provisioning: ansible Vagrantfile Vagrant.configure("2") do |config| config.vm.box = "ubuntu/xenial64" config.vm.box_download_insecure = true config.vm.define "foobar" …
codekandis
  • 712
  • 1
  • 11
  • 22
0
votes
0 answers

Sticky Bit : synced_folders vagrant

I've a problem to add sticky bit to a synced folder into Vagrant. I need to move, into guest, from /tmp to another /mytmp (more bigger), for MySQL tmp data file, because : ERROR 3 (HY000): Error writing file '/tmp/MYQ4Gqvz' (Errcode: 28 - No space…
Massimo
  • 21
  • 2