Hi ,guys I want to synchronize some files from my local computer to a remote server while preserving the user name and group name. The rsyncd.conf file on the remote server is:
[enso-home] path=/home/./enso read only=no uid=root gid=root auth users=test secrets file=/etc/secrets use chroot=yes numeric ids=no Since the parameter "numeric ids" is enabled for the chroot modules by default, I set it to "no" explicitly in the config file.I tried with the command: rsync -go --password-file=/home/yorua007/secrets ./test.txt t...@remote server's ip::enso-home/ But the user name and group name of the file "test.txt" changed to be names on the remote server. -- 此致 敬礼! -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html