From rsync-cvs at lists.samba.org Tue Nov 20 21:25:37 2018 From: rsync-cvs at lists.samba.org (Rsync CVS commit messages) Date: Tue, 20 Nov 2018 22:25:37 +0100 (CET) Subject: [SCM] The rsync repository. - branch master updated Message-ID: The branch, master has been updated via 4aeb0932 Fix itemizing of wrong dir name on some --iconv transfers. from 1eb7a706 Need to mark xattr rules in get_rule_prefix(). https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 4aeb093206d55c3d886cbcec062f7aa93d0b968e Author: Wayne Davison Date: Tue Nov 20 12:45:36 2018 -0800 Fix itemizing of wrong dir name on some --iconv transfers. Fixes bug #13492. ----------------------------------------------------------------------- Summary of changes: flist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/flist.c b/flist.c index 499440cc..60e843cc 100644 --- a/flist.c +++ b/flist.c @@ -1636,6 +1636,7 @@ static void add_dirs_to_tree(int parent_ndx, struct file_list *from_flist, int32 *parent_dp = parent_ndx < 0 ? NULL : F_DIR_NODE_P(dir_flist->sorted[parent_ndx]); + /* The sending side is adding entries to dir_flist in sorted order, so sorted & files are the same. */ flist_expand(dir_flist, dir_cnt); dir_flist->sorted = dir_flist->files; @@ -1970,7 +1971,7 @@ void send_extra_file_list(int f, int at_least) else dir_ndx = send_dir_ndx; write_ndx(f, NDX_FLIST_OFFSET - dir_ndx); - flist->parent_ndx = dir_ndx; + flist->parent_ndx = send_dir_ndx; /* the sending side must remember the sorted ndx value */ send1extra(f, file, flist); prev_flags = file->flags; -- The rsync repository. From rsync-cvs at lists.samba.org Tue Nov 20 21:44:55 2018 From: rsync-cvs at lists.samba.org (Rsync CVS commit messages) Date: Tue, 20 Nov 2018 22:44:55 +0100 (CET) Subject: [SCM] The rsync repository. - branch master updated Message-ID: The branch, master has been updated via 1a288c06 Document how a leading comma changes the gid parsing. from 4aeb0932 Fix itemizing of wrong dir name on some --iconv transfers. https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 1a288c06d9c12c1d5fc754d6b95a2e61bf5a0250 Author: Wayne Davison Date: Tue Nov 20 13:44:09 2018 -0800 Document how a leading comma changes the gid parsing. ----------------------------------------------------------------------- Summary of changes: rsyncd.conf.yo | 6 ++++++ 1 file changed, 6 insertions(+) Changeset truncated at 500 lines: diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index 3076a492..c041cf93 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -408,6 +408,12 @@ supplementary groups. The default for a non-super-user is to not change any group attributes (and indeed, your OS may not allow a non-super-user to try to change their group settings). +The specified list is normally split into tokens based on spaces and commas. +However, if the list starts with a comma, then the list is only split on +commas, which allows a group name to contain a space. In either case any +leading and/or trailing whitespace is removed from the tokens and empty tokens +are ignored. + dit(bf(daemon uid)) This parameter specifies a uid under which the daemon will run. The daemon usually runs as user root, and when this is left unset the user is left unchanged. See also the "uid" parameter. -- The rsync repository. From rsync-cvs at lists.samba.org Tue Nov 20 22:11:40 2018 From: rsync-cvs at lists.samba.org (Rsync CVS commit messages) Date: Tue, 20 Nov 2018 23:11:40 +0100 (CET) Subject: [SCM] The rsync repository. - branch master updated Message-ID: The branch, master has been updated via 6af8e114 Don't force cygwin to solaris ACLs anymore. from 1a288c06 Document how a leading comma changes the gid parsing. https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 6af8e1145034b243e922307c583edd0ee3bad64d Author: Wayne Davison Date: Tue Nov 20 14:11:42 2018 -0800 Don't force cygwin to solaris ACLs anymore. ----------------------------------------------------------------------- Summary of changes: configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/configure.ac b/configure.ac index 45a96637..4f68e98a 100644 --- a/configure.ac +++ b/configure.ac @@ -979,7 +979,7 @@ else AC_DEFINE(HAVE_UNIXWARE_ACLS, 1, [true if you have UnixWare ACLs]) AC_DEFINE(SUPPORT_ACLS, 1, [Define to 1 to add support for ACLs]) ;; - solaris*|*cygwin*) + solaris*) AC_MSG_RESULT(Using solaris ACLs) AC_DEFINE(HAVE_SOLARIS_ACLS, 1, [true if you have solaris ACLs]) AC_DEFINE(SUPPORT_ACLS, 1) -- The rsync repository. From rsync-cvs at lists.samba.org Tue Nov 20 22:17:45 2018 From: rsync-cvs at lists.samba.org (Rsync CVS commit messages) Date: Tue, 20 Nov 2018 23:17:45 +0100 (CET) Subject: [SCM] The rsync repository. - branch master updated Message-ID: The branch, master has been updated via f55d35c5 Try to be clearer that --append-verify isn't a general-purpose-copy option. from 6af8e114 Don't force cygwin to solaris ACLs anymore. https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit f55d35c5a030d9fef8340b65d77205d38706443e Author: Wayne Davison Date: Tue Nov 20 14:17:32 2018 -0800 Try to be clearer that --append-verify isn't a general-purpose-copy option. ----------------------------------------------------------------------- Summary of changes: rsync.yo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/rsync.yo b/rsync.yo index 71008576..99177363 100644 --- a/rsync.yo +++ b/rsync.yo @@ -889,7 +889,9 @@ dit(bf(--append-verify)) This works just like the bf(--append) option, but the existing data on the receiving side is included in the full-file checksum verification step, which will cause a file to be resent if the final verification step fails (rsync uses a normal, non-appending -bf(--inplace) transfer for the resend). +bf(--inplace) transfer for the resend). It otherwise has the exact same +caveats for files that have not grown larger, so don't use this for a +general copy. Note: prior to rsync 3.0.0, the bf(--append) option worked like bf(--append-verify), so if you are interacting with an older rsync (or the -- The rsync repository.