welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 167 forks source link

Keep permission on rsync #381

Closed Mte90 closed 7 years ago

Mte90 commented 7 years ago

We are using wordmove with an our VPS but we see that the file change permission with ssh_user:users but locally is this different and also the file on the vps have `www-data:www-data permission. I am not sure if it is wrong something for my side for VPS or on rsync used from wordmove is missing a parameter.

alessandro-fazzi commented 7 years ago

It's a completely natural behaviour: you write on the server as ssh_user user and with its own umask. You can control that behaviour.

You can find a lot of discussion on project's issues such as https://github.com/welaika/wordmove/issues/341 and generally searching --chamod in the repo.

Reopen if you need ;)