[Bug 8829] rsync -uav --delete --dry-run prints delete file list in reverse order

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8829

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Wayne Davison way...@samba.org 2013-06-02 22:09:35 UTC ---
This is the expected delete order, which makes it easier for rsync to delete
the directory after deleting the containing files.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8720] rsync -n -e ssh creates ssh tunnel which fails to close after command completes

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8720

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Wayne Davison way...@samba.org 2013-06-02 22:11:08 UTC ---
Sounds like an ssh bug to me.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8483] rsync: chown failed: Permission denied (13)

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8483

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #8 from Wayne Davison way...@samba.org 2013-06-02 22:13:49 UTC ---
If rsync is unable to chown a file, you need to figure out what OS
reason/permission you have failed to give it to do its job.  e.g. you have have
a file system mounted with root-squash permissions.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8411] invalid flist flag when using protocol 28 or 29

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8411

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Wayne Davison way...@samba.org 2013-06-02 22:22:25 UTC ---
No response; fix should handle it.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8838] rsync daemon chooses wrong destination place if space and the module name is part of it

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8838

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Wayne Davison way...@samba.org 2013-06-02 22:53:37 UTC ---
I'm committing a fix for this now.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 9416] --files-from : RERR_PARTIAL vs RERR_VANISHED

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=9416

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #1 from Wayne Davison way...@samba.org 2013-06-02 23:25:59 UTC ---
In looking at this, I like the RERR_PARTIAL return better for missing args
(which is what files-from files are).  However, you can use one of these to get
rsync to treat missing args as OK:

--ignore-missing-args
--delete-missing-args

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8775] Preallocate option doesn't work with recursive?

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8775

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #1 from Wayne Davison way...@samba.org 2013-06-02 23:34:58 UTC ---
When I try a recursive command, it calls the preallocate command for all the
files in the recursive transfer.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8790] rsync stream file type

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8790

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

--- Comment #2 from Wayne Davison way...@samba.org 2013-06-02 23:37:40 UTC ---
Yeah, the batch stuff already allows streaming of the protocol, which can batch
up some changes into a single file.  It doesn't allow appending, and really I
think we should not complicate it further.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 8265] Various corruption of devices and sockets

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8265

--- Comment #10 from Wayne Davison way...@samba.org 2013-06-02 23:42:21 UTC 
---
Any more info on this?

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[SCM] The rsync repository. - branch master updated

2013-06-02 Thread Rsync CVS commit messages
The branch, master has been updated
   via  0ab8e16 Avoid preallocation on inplace file that is already long 
enough.
  from  1e9ee19 Look for got_kill_signal in a couple more spots.

;a=shortlog;h=master


- Log -
commit 0ab8e166f44940dad79e8b80ae0b960336efa10c
Author: Wayne Davison way...@samba.org
Date:   Sun Jun 2 12:37:48 2013 -0700

Avoid preallocation on inplace file that is already long enough.

---

Summary of changes:
 receiver.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/receiver.c b/receiver.c
index 5ba370b..622f462 100644
--- a/receiver.c
+++ b/receiver.c
@@ -241,7 +241,7 @@ static int receive_data(int f_in, char *fname_r, int fd_r, 
OFF_T size_r,
OFF_T preallocated_len = 0;
 #endif
 
-   if (preallocate_files  fd != -1  total_size  0) {
+   if (preallocate_files  fd != -1  total_size  0  (!inplace || 
total_size  size_r)) {
/* Try to preallocate enough space for file's eventual length.  
Can
 * reduce fragmentation on filesystems like ext4, xfs, and 
NTFS. */
if (do_fallocate(fd, 0, total_size) == 0) {


-- 
The rsync repository.
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsyncweb

2013-06-02 Thread Rsync CVS commit messages

Date:   Sun Jun  2 19:43:50 2013
Author: wayned

Update of /data/cvs/rsyncweb
In directory fn.samba.org:/tmp/cvs-serv597679

Modified Files:
documentation.html 
Log Message:
Fix typo.

Revisions:
documentation.html  1.16 = 1.17

http://www.samba.org/cgi-bin/cvsweb/rsyncweb/documentation.html?r1=1.16r2=1.17
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


[SCM] The rsync repository. - branch master updated

2013-06-02 Thread Rsync CVS commit messages
The branch, master has been updated
   via  d9ca1e4 Tweak --checksum-seed docs.
  from  0ab8e16 Avoid preallocation on inplace file that is already long 
enough.

;a=shortlog;h=master


- Log -
commit d9ca1e49904b2b8506a84b630097b42212356df1
Author: Wayne Davison way...@samba.org
Date:   Sun Jun 2 13:14:27 2013 -0700

Tweak --checksum-seed docs.

---

Summary of changes:
 options.c |1 +
 rsync.yo  |   18 +-
 2 files changed, 10 insertions(+), 9 deletions(-)


Changeset truncated at 500 lines:

diff --git a/options.c b/options.c
index 088202e..91e3fdd 100644
--- a/options.c
+++ b/options.c
@@ -802,6 +802,7 @@ void usage(enum logcode F)
 #ifdef ICONV_OPTION
   rprintf(F, --iconv=CONVERT_SPECrequest charset conversion of 
filenames\n);
 #endif
+  rprintf(F, --checksum-seed=NUM set block/file checksum seed 
(advanced)\n);
   rprintf(F, -4, --ipv4  prefer IPv4\n);
   rprintf(F, -6, --ipv6  prefer IPv6\n);
   rprintf(F, --version   print version number\n);
diff --git a/rsync.yo b/rsync.yo
index 91a446f..3aef0c2 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -2551,15 +2551,15 @@ If rsync was complied without support for IPv6, the 
bf(--ipv6) option
 will have no effect.  The bf(--version) output will tell you if this
 is the case.
 
-dit(bf(--checksum-seed=NUM)) Set the checksum seed to the integer
-NUM.  This 4 byte checksum seed is included in each block and file
-checksum calculation.  By default the checksum seed is generated
-by the server and defaults to the current code(time()).  This option
-is used to set a specific checksum seed, which is useful for
-applications that want repeatable block and file checksums, or
-in the case where the user wants a more random checksum seed.
-Setting NUM to 0 causes rsync to use the default of code(time())
-for checksum seed.
+dit(bf(--checksum-seed=NUM)) Set the checksum seed to the integer NUM.  This 4
+byte checksum seed is included in each block and MD4 file checksum calculation
+(the more modern MD5 file checksums don't use a seed).  By default the checksum
+seed is generated by the server and defaults to the current code(time()).  This
+option is used to set a specific checksum seed, which is useful for
+applications that want repeatable block checksums, or in the case where the
+user wants a more random checksum seed.  Setting NUM to 0 causes rsync to use
+the default of code(time()) for checksum seed.
+
 enddit()
 
 manpagesection(DAEMON OPTIONS)


-- 
The rsync repository.
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsyncweb

2013-06-02 Thread Rsync CVS commit messages

Date:   Sun Jun  2 22:30:55 2013
Author: wayned

Update of /data/cvs/rsyncweb
In directory fn.samba.org:/tmp/cvs-serv643088

Modified Files:
features.html 
Log Message:
Find a newer anonymous-rsync article to replace broken one.

Revisions:
features.html   1.4 = 1.5
http://www.samba.org/cgi-bin/cvsweb/rsyncweb/features.html?r1=1.4r2=1.5
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


[SCM] The rsync repository. - branch master updated

2013-06-02 Thread Rsync CVS commit messages
The branch, master has been updated
   via  d6df073 Fix module-name splitting with --protect-args. Fixes bug 
8838.
  from  d9ca1e4 Tweak --checksum-seed docs.

;a=shortlog;h=master


- Log -
commit d6df07392e4bbdd3056c501fc047e5a1ff45a371
Author: Wayne Davison way...@samba.org
Date:   Sun Jun 2 15:53:40 2013 -0700

Fix module-name splitting with --protect-args.
Fixes bug 8838.

---

Summary of changes:
 t_stub.c |1 +
 util.c   |6 ++
 2 files changed, 7 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/t_stub.c b/t_stub.c
index 637e0d5..013c09d 100644
--- a/t_stub.c
+++ b/t_stub.c
@@ -23,6 +23,7 @@
 
 int modify_window = 0;
 int preallocate_files = 0;
+int protect_args = 0;
 int module_id = -1;
 int relative_paths = 0;
 int module_dirlen = 0;
diff --git a/util.c b/util.c
index 0799dff..d0dee73 100644
--- a/util.c
+++ b/util.c
@@ -26,6 +26,7 @@
 #include inums.h
 
 extern int module_id;
+extern int protect_args;
 extern int modify_window;
 extern int relative_paths;
 extern int preserve_times;
@@ -759,6 +760,11 @@ void glob_expand_module(char *base1, char *arg, char 
***argv_p, int *argc_p, int
if (strncmp(arg, base, base_len) == 0)
arg += base_len;
 
+   if (protect_args) {
+   glob_expand(arg, argv_p, argc_p, maxargs_p);
+   return;
+   }
+
if (!(arg = strdup(arg)))
out_of_memory(glob_expand_module);
 


-- 
The rsync repository.
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs