provisioners/chef: don't follow symlink when chown
This commit is contained in:
parent
7b2a0716f1
commit
6a7e07c53f
|
@ -58,6 +58,7 @@ BUG FIXES:
|
||||||
[GH-2792]
|
[GH-2792]
|
||||||
- providers/virtualbox: Enabling internal networks by just setting "true"
|
- providers/virtualbox: Enabling internal networks by just setting "true"
|
||||||
works properly. [GH-2751]
|
works properly. [GH-2751]
|
||||||
|
- provisioners/chef: When chowning folders, don't follow symlinks.
|
||||||
- provisioners/salt: Options can now set install type and install args.
|
- provisioners/salt: Options can now set install type and install args.
|
||||||
[GH-2766]
|
[GH-2766]
|
||||||
- synced\_folders/nfs: NFS entries are pruned on every `vagrant up`,
|
- synced\_folders/nfs: NFS entries are pruned on every `vagrant up`,
|
||||||
|
|
|
@ -38,7 +38,7 @@ module VagrantPlugins
|
||||||
@machine.communicate.tap do |comm|
|
@machine.communicate.tap do |comm|
|
||||||
paths.each do |path|
|
paths.each do |path|
|
||||||
comm.sudo("mkdir -p #{path}")
|
comm.sudo("mkdir -p #{path}")
|
||||||
comm.sudo("chown #{@machine.ssh_info[:username]} #{path}")
|
comm.sudo("chown -h #{@machine.ssh_info[:username]} #{path}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue