DO NOT REPLY [Bug 3988] -a collides with --flags

2006-10-16 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3988


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Comment #6 from [EMAIL PROTECTED]  2006-10-16 02:11 MST ---
The call to make_mutable() was using fname when it should have used fnametmp. 
The latest patch in CVS fixes this.

The code does not try to allow an immutable file in the destination to be
updated, and I assume that's how things should work.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


DO NOT REPLY [Bug 3988] -a collides with --flags

2006-10-16 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3988


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED




--- Comment #7 from [EMAIL PROTECTED]  2006-10-16 02:38 MST ---
Yep. This indeed fixes the original bug. Thanks!

However, I disagree on handling an immutable destination file upon update,
specifically when using the --archive option. A naive user would expect a
verbatim one-to-one copy of his files to the destination, including all file
characteristics like time, permissions, etc. For example, I use rsync to make
file system backups to a secondary disk and I want the schg flags (e.g. on
mandatory shared libraries) to be copied over cleanly, regardless of an already
existing flag on the destination. In that respect, --perm and --flags currently
follow a different paradigm. Which is a POLA violation IMHO.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


rsync-2.6.9pre2: undeclared variable in source code

2006-10-16 Thread Nelson H. F. Beebe
A build of rsync-2.6.9pre2 on DEC Alpha OSF/1 4.0 failed because of
an undeclared variable at lib/inet_ntop.c:84:

memcpy(dst, tmp, len + 1);

len is not declared; the code looks like the third argument should
instead be the value

 strlen(tmp) + 1

I made that change, restarted the build and validation, and got
this report:

- daemon-gzip-download rsyncd.log ends
FAILdaemon-gzip-download
- daemon-gzip-upload rsyncd.log ends
FAILdaemon-gzip-upload
PASSdaemon
...

- overall results:
  25 passed
  2 failed
  4 skipped

overall result is 2

---
- Nelson H. F. BeebeTel: +1 801 581 5254  -
- University of UtahFAX: +1 801 581 4148  -
- Department of Mathematics, 110 LCBInternet e-mail: [EMAIL PROTECTED]  -
- 155 S 1400 E RM 233   [EMAIL PROTECTED]  [EMAIL 
PROTECTED] -
- Salt Lake City, UT 84112-0090, USAURL: http://www.math.utah.edu/~beebe/ -
---
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync-2.6.9pre2: undeclared variable in source code

2006-10-16 Thread Wayne Davison
On Mon, Oct 16, 2006 at 08:11:40AM -0600, Nelson H. F. Beebe wrote:
 A build of rsync-2.6.9pre2 on DEC Alpha OSF/1 4.0 failed because of
 an undeclared variable at lib/inet_ntop.c:84:
 
   memcpy(dst, tmp, len + 1);

I apparently left out the code that set len.  The attached patch
fixes this.

 - daemon-gzip-download rsyncd.log ends
 FAILdaemon-gzip-download
 - daemon-gzip-upload rsyncd.log ends
 FAILdaemon-gzip-upload

If you'd email me (not the list) the output from the testtmp.*/*log
files, I'll take a look at what they indicate.

..wayne..
--- lib/inet_ntop.c 13 Oct 2006 23:17:37 -  1.4
+++ lib/inet_ntop.c 16 Oct 2006 17:53:43 -
@@ -75,9 +75,10 @@ inet_ntop4(const unsigned char *src, cha
 {
static const char *fmt = %u.%u.%u.%u;
char tmp[sizeof 255.255.255.255];
+   size_t len;
 
-   if ((size_t)sprintf(tmp, fmt, src[0], src[1], src[2], src[3]) = size)
-   {
+   len = snprintf(tmp, sizeof tmp, fmt, src[0], src[1], src[2], src[3]);
+   if (len = size) {
errno = ENOSPC;
return (NULL);
}
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

rsync: mkstemp ... No such file or directory mangled dirname

2006-10-16 Thread Markus Schaub
Hello all

I have two Linux boxes. The first one is samba servers for the Windows clients. 
The second one is backup storage. So every few hours rsnc synchronises the data 
directories on the second machine.

They are Suse Linux 9
Linux max 2.6.11.4-21.7-smp #1 SMP Thu Jun 2 14:23:14 UTC 2005 i686 i686 i386 
GNU/Linux
rsync  version 2.6.3  protocol version 28

From time to time I get errors reported, now last saturday this message occured 
and it puzzles me. There was no one in the office at that time and there is no 
remote access. So what has happend.

Strange enough, there is no directory /data/wl but there is /data/gl. Also some 
time back I found a similar message where one letter in the path was changed.

Why is this one letter changed and what is going on on a Saturday evening?

Thanks for your support

Error 1: there is no directory /data/wl, but there is /data/gl

rsync: mkstemp 
//data/wl/Kunden/XX/Angebote_Auftragsbestaetigungen/.AB_200806.doc.FFD9fg 
failed: No such file or directory (2)
rsync: mkstemp 
//data/wl/Kunden/XX/Angebote_Auftragsbestaetigungen/.Angebot_Baustellenleiter_040624.doc.kuebxP
 failed: No such file or directory (2)
...
rsync: mkstemp 
//data/wl/Kunden/XX/Angebote_Auftragsbestaetigungen/.Personal 
Resources_Sofia_Rechsteiner_030623.doc.DwVMgO failed: No such file or 
directory (2)
rsync: mkstemp 
//data/wl/Kunden/XX/Angebote_Auftragsbestaetigungen/.Thes_E_030623.doc.mCyeMn
 failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(702)

Error 2: there is no directory Kundeo should be Kunden

rsync: mkstemp //data/gl/Kundeo/XX/b-Projekte/C A D/99_Final 
Schemata_Final Legenden_Final Listen_020725/Schemata/Batch6/.203.dwg.jgPyDB 
failed: No such file or directory (2)
rsync: mkstemp //data/gl/Kundeo/XX/b-Projekte/C A D/99_Final 
Schemata_Final Legenden_Final 
Listen_020725/Schemata/Batch6/.Batch6_Final.zip.WMg8RG failed: No such file or 
directory (2)
rsync error: some files could not be transferred (code 23) at main.c(702)

Markus Schaub 
Hauptstrasse 43 
CH 6260 Reiden -- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

cross-platform with GUI in a package

2006-10-16 Thread [EMAIL PROTECTED]

Hello,

has somebody done a cross platform (Windows XP, OS X) GUI wrapper around 
rsync so that end-users can backup selected files/folders on a remote 
server by point-and-click?


I am aware that on Windows XP it is possible with the help of the cygwin 
binary - but I am not sure about the GUI - I had a look at PHP-GTK, 
tcl/tk and Java (it should be a scripting language). On OS X do not 
know. A one file installer would be good as well.


Thanks,
Iv
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


CENTRAL BANK OF Benin Republic

2006-10-16 Thread profalhajiosenu
 No Message Collected 
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


CVS update: rsync/patches

2006-10-16 Thread Wayne Davison

Date:   Mon Oct 16 06:54:06 2006
Author: wayned

Update of /data/cvs/rsync/patches
In directory dp.samba.org:/tmp/cvs-serv28986

Modified Files:
threaded-receiver.diff 
Log Message:
Got rid of the (unneeded) ./prepare_source instructions.


Revisions:
threaded-receiver.diff  1.30 = 1.31

http://www.samba.org/cgi-bin/cvsweb/rsync/patches/threaded-receiver.diff?r1=1.30r2=1.31
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs