Skip to content

Commit

Permalink
Vagrant mode fix (#998) (#1000)
Browse files Browse the repository at this point in the history
Vagrant /opt/meza directory shouldn't be world-writable
  • Loading branch information
jamesmontalvo3 committed Aug 11, 2018
1 parent 5a2c6d5 commit 8301fe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ Vagrant.configure("2") do |config|

# Disable default synced folder at /vagrant, instead put at /opt/meza
app1.vm.synced_folder ".", "/vagrant", disabled: true
app1.vm.synced_folder ".", "/opt/meza", type: "virtualbox"
app1.vm.synced_folder ".", "/opt/meza", type: "virtualbox", owner: "vagrant", group: "vagrant", mount_options: ["dmode=755,fmode=755"]

# app1.vm.synced_folder ".", "/opt/meza", type: "smb"
# app1.vm.synced_folder ".", "/opt/meza", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "-z"]
Expand Down

0 comments on commit 8301fe4

Please sign in to comment.