Chris Roberts
185a7dfc2e
guests/rsync do not chown files excluded from sync
2016-08-16 15:13:19 -07:00
Seth Vargo
7f1947fec2
folders/rsync: Shellescape guest paths
...
This allows users to have spaces or other special characters in
destination paths on the guest.
2016-07-18 21:13:00 -04:00
Seth Vargo
d2874064f4
Use .key? instead of .has_key?
2015-01-05 18:29:01 -05:00
Mitchell Hashimoto
34b7cace7b
synced_folders/rsync: rsync__chown [GH-3810]
2014-05-17 12:01:50 -07:00
Mitchell Hashimoto
c7abea2032
guests/linux: exclude symlinks from chown search [GH-3744]
2014-05-09 16:08:11 -07:00
Mitchell Hashimoto
4ef237a642
synced_folders/rsync: mkdir before rsync
2014-05-06 13:41:37 -07:00
Nikhil Benesch
2df36892dd
synced_folders/rsync: only chown when necessary [GH-3525]
...
Run remote rsync as root to guarantee that rsync can write to guestpath.
This obviates the need to chown the guestpath to the SSH user prior to
sync.
This brings a substantial speedup (2x on a moderately-sized shared
folder) and properly triggers filesystem notifications on only the files
changed by a given sync.
2014-04-25 15:00:12 -04:00
Nikhil Benesch
ee5d8e2358
guests/linux: rsync chown if either user or group incorrect [GH-3485]
2014-04-15 16:55:49 -04:00
Mitchell Hashimoto
9529dd8cde
guests/linux: rsync chown group if owner now set [GH-3223]
2014-04-09 11:03:24 -07:00
Mitchell Hashimoto
ca00ad8257
guests/linux: one more time
2014-03-13 09:48:53 -07:00
Mitchell Hashimoto
3c02caf811
guests/linux: check for proper owner [GH-3186]
2014-03-13 09:48:22 -07:00
Mitchell Hashimoto
00d73eabda
guests/linux: rsync only chown if invalid user/group [GH-3186]
2014-03-13 09:47:34 -07:00
Mitchell Hashimoto
a6eafd6a12
synced_folders/rsync: execute rsync_post cap if it exists [GH-3163]
2014-03-12 18:43:59 -07:00
Teemu Matilainen
ee2ae94c25
synced_folders/rsync: Install `rsync` on guest if needed
...
Add new `rsync_installed` and `rsync_install` guest capabilities
to detect and install `rsync`.
Also copy `rsync_pre` capability to all Unix guests.
2014-01-31 02:12:57 -03:00
Mitchell Hashimoto
2e3fcf576c
synced_folders/rsync: allow guests to execute things before
2014-01-10 17:51:44 -08:00