Skip to content

Commit

Permalink
[#79] remove bindfs to allow proper permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Calef committed Mar 1, 2021
1 parent 2079b0e commit 3b9e9e5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ magento = configValues['magento']
projectName = 'magento'

# Check plugin
check_plugins ['vagrant-bindfs','vagrant-rsync-back']
check_plugins ['vagrant-rsync-back']
if OS.is_windows
check_plugins ['vagrant-winnfsd']
end
Expand Down Expand Up @@ -62,12 +62,6 @@ Vagrant.configure(2) do |config|

# Default options
config.vm.synced_folder '.', '/vagrant', disabled: true
# Bindfs options
config.bindfs.default_options = {
force_user: 'vagrant',
force_group: 'www-data',
perms: 'u=rwx:g=rwx:o=rwx'
}

# NFS mount
if vmconf['mount'] == 'nfs'
Expand Down Expand Up @@ -97,9 +91,6 @@ Vagrant.configure(2) do |config|
config.vm.synced_folder hostDirectory, guestDirectory, create: true
end

# Bindfs
config.bindfs.bind_folder guestDirectory, guestDirectory, after: :provision

# SSH key provisioning
config.vm.provision 'file', source: './ssh/id_rsa', destination: '~/.ssh/id_rsa'
config.vm.provision 'file', source: './ssh/id_rsa.pub', destination: '~/.ssh/id_rsa.pub'
Expand Down

0 comments on commit 3b9e9e5

Please sign in to comment.