Merge pull request #4112 from deviantintegral/rsync-options

website/docs: Clarify docs for rsync ownership
This commit is contained in:
Mitchell Hashimoto 2014-08-06 10:07:17 -07:00
commit 2321e44cc2
1 changed files with 5 additions and 2 deletions

View File

@ -45,10 +45,13 @@ The rsync synced folder type accepts the following options:
* `rsync__auto` (boolean) - If false, then `rsync-auto` will not
watch and automatically sync this folder. By default, this is true.
* `rsync__chown` (boolean) - If false, then the `owner` and `group`
* `rsync__chown` (boolean) - If false, then the
[`owner` and `group`](/v2/synced-folders/basic_usage.html)
options for the synced folder are ignored and Vagrant won't execute
a recursive `chown`. This defaults to true. This option exists because
the `chown` causes issues for some development environments.
the `chown` causes issues for some development environments. Note that
any `rsync__args` options for ownership **will be overridden** by
`rsync__chown`.
* `rsync__exclude` (string or array of strings) - A list of files or directories
to exclude from the sync. The values can be any acceptable rsync exclude