Closed kiklop74 closed 7 years ago
Adding the following lines in your config should to the trick:
config.cache.synced_folder_opts = {
owner: "_apt",
group: "_apt"
}
I'm thinking the right solution is create another synced folder.
Had the same problem. This did it for me:
config.cache.synced_folder_opts = {
owner: "_apt",
group: "vagrant"
}
Thanks
I am currently experimenting with vagrant and Ubuntu 16.04 64bit using bento/ubuntu-16.04. While performing tests that included vagrant-cachier I noticed unfortunate behavior.
In order to provide cached packages cachier creates a temporary directory that points within the VM os to /tmp/vagrant-cache/apt/ and is symlinked to /var/cache/apt/archives/ . All nice and neat except one thing. The directory /tmp/vagrant-cache/apt/ is created and owned by the user vagrant. That in turn generated following warning message when installing any package using apt-get.