jerrysu / gulp-rsync

Gulp plugin for deploying files via rsync
119 stars 51 forks source link

Need free option string to add --chmod under Windows #14

Closed karland closed 9 years ago

karland commented 9 years ago

I have run into the following issue under Windows: https://github.com/mitchellh/vagrant/issues/3256. When I call

rsync.exe -e ssh --chmod=ug=rwX,o=rxX -avtzP ...

my issue is fixed. However, I cannot find a way to pass the --chmod-option to gulp-rsync. Can you help or add a "free option string". That would be fantastic. Thank you.

karland commented 9 years ago

The same issue was already fixed with this commit to rsyncwrapper. It would be fantastic if it could also be fixed here. Thanks.

karland commented 9 years ago

Sorry wrong button....

yethee commented 9 years ago

I had same issue. I implemented temporary solution in my fork of this repository.

karland commented 9 years ago

@yethee Thanks for the hint. This actually encouraged my to make a PR #15

@jerrysu Good code. It was relatively easy to add new options and fix my problem in the source. Thanks.