From cf642be0837416698435f2f7686f337201f234e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Rodr=C3=ADguez?= Date: Thu, 15 Feb 2018 16:06:02 +0100 Subject: [PATCH] Change owner of shared folder to archivematica uid This fixes the problems when building npm modules --- playbooks/archivematica-centos7/Vagrantfile | 2 +- playbooks/archivematica-xenial/Vagrantfile | 2 +- playbooks/archivematica/Vagrantfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/archivematica-centos7/Vagrantfile b/playbooks/archivematica-centos7/Vagrantfile index 6e4b6b75..feae7950 100644 --- a/playbooks/archivematica-centos7/Vagrantfile +++ b/playbooks/archivematica-centos7/Vagrantfile @@ -32,7 +32,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end # Make the project root available to the guest VM - config.vm.synced_folder '.', '/vagrant' + config.vm.synced_folder '.', '/vagrant',mount_options: ["uid=333", "gid=333"] # Ansible provisioning config.vm.provision :ansible do |ansible| diff --git a/playbooks/archivematica-xenial/Vagrantfile b/playbooks/archivematica-xenial/Vagrantfile index 215ce441..f54b7782 100644 --- a/playbooks/archivematica-xenial/Vagrantfile +++ b/playbooks/archivematica-xenial/Vagrantfile @@ -31,7 +31,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end # Make the project root available to the guest VM - config.vm.synced_folder '.', '/vagrant' + config.vm.synced_folder '.', '/vagrant',mount_options: ["uid=333", "gid=333"] # Ansible provisioning config.vm.provision "shell", inline: "sudo apt-get install -y python" diff --git a/playbooks/archivematica/Vagrantfile b/playbooks/archivematica/Vagrantfile index 1a79780c..20aa86d1 100644 --- a/playbooks/archivematica/Vagrantfile +++ b/playbooks/archivematica/Vagrantfile @@ -31,7 +31,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end # Make the project root available to the guest VM - config.vm.synced_folder '.', '/vagrant' + config.vm.synced_folder '.', '/vagrant',mount_options: ["uid=333", "gid=333"] # Ansible provisioning config.vm.provision :ansible do |ansible|