Join the DZone community and get the full member experience.
Join For Free
The DevOps zone is brought to you in partnership with Sonatype Nexus. The Nexus suite helps scale your DevOps delivery with continuous component intelligence integrated into development tools, including Eclipse, IntelliJ, Jenkins, Bamboo, SonarQube and more. Schedule a demo today.
I had a problem writing to the cache directory in my vagrant project due to file permissions. Fortunately Jeremy Kendall has already solved this problem in his Vagrant Synced Folders Permissions article.
He presents two different solutions:
- Setting permissions via the Vagrantfile.
- Changing the web user in the VM to be the vagrant user.
I went with the first option and added this setting in my Vagrant file:
config.vm.synced_folder "./", "/vagrant", id: "vagrant-root",
The DevOps zone is brought to you in partnership with Sonatype Nexus. Use the Nexus Suite to automate your software supply chain and ensure you're using the highest quality open source components at every step of the development lifecycle. Get Nexus today.