Mount VBox shared folders with proper owner/group [GH-1611]
This commit is contained in:
parent
0f089c5671
commit
0e7a9d3c91
|
@ -15,6 +15,7 @@ BUG FIXES:
|
|||
- Chef solo run list properly set. [GH-1608]
|
||||
- Follow 30x redirects when downloading boxes. [GH-1607]
|
||||
- Chef client config defaults are done properly. [GH-1609]
|
||||
- VirtualBox mounts shared folders with the proper owner/group. [GH-1611]
|
||||
|
||||
## 1.2.0 (April 16, 2013)
|
||||
|
||||
|
|
|
@ -108,8 +108,9 @@ module VagrantPlugins
|
|||
data = data.dup
|
||||
|
||||
# Calculate the owner and group
|
||||
data[:owner] ||= @env[:machine].config.ssh.username
|
||||
data[:group] ||= @env[:machine].config.ssh.username
|
||||
ssh_info = @env[:machine].ssh_info
|
||||
data[:owner] ||= ssh_info[:username]
|
||||
data[:group] ||= ssh_info[:username]
|
||||
|
||||
# Mount the actual folder
|
||||
@env[:machine].guest.capability(
|
||||
|
|
Loading…
Reference in New Issue