rsync, 'uid/gid impossible to set' cases cause future hard link failure, how to fix?

后端 未结 4 821
闹比i
闹比i 2021-01-20 04:18

I am using rsync version 3.1.1 protocol version 31 with cygwin version 2.3.1(0.291/5/3).

I believe that I need to chown all my Win7 files, with unknown uid/gid\'s, w

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-20 04:28

    Use the --usermap and --groupmap rsync options (this requires that both source and dest environments use version 3.1.0 or higher). In my case this won't work since my destination (WD MyCloud) uses 3.0.9.

    OR

    Change the rsync source code with gcc running under cygwin (really not that hard with some C knowledge).

提交回复
热议问题