Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

If a synced folder's owner or group is set in config.yml, use it. #872

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
rsync__args: ['--verbose', '--archive', '--delete', '-z', '--chmod=ugo=rwX'],
id: synced_folder['id'],
create: synced_folder.include?('create') ? synced_folder['create'] : false,
mount_options: synced_folder.include?('mount_options') ? synced_folder['mount_options'] : nil
mount_options: synced_folder.include?('mount_options') ? synced_folder['mount_options'] : nil,
owner: synced_folder.include?('owner') ? synced_folder['owner'] : 'vagrant',
group: synced_folder.include?('group') ? synced_folder['group'] : 'vagrant'
}
if synced_folder.include?('options_override')
options = options.merge(synced_folder['options_override'])
Expand Down