Re: exit code for vanished files in 2.6.9

2007-12-07 Thread Matt McCutchen
On Fri, 2007-12-07 at 14:40 -0600, Marc DeTrano wrote: > I am using rsync 2.6.9 (as currently packaged in Mandriva 2007.1) > > Ever since the latest update of the package I have been getting an exit > code of 23 with the output "file has vanished: {filename}". > > For partial transfers due to van

exit code for vanished files in 2.6.9

2007-12-07 Thread Marc DeTrano
I am using rsync 2.6.9 (as currently packaged in Mandriva 2007.1) Ever since the latest update of the package I have been getting an exit code of 23 with the output "file has vanished: {filename}". For partial transfers due to vanished files, I (and my script) would expect exit code 24. (man pa

Re: remote logging non-daemon mode

2007-12-07 Thread Doug Lochart
Nevermind. I figured it out after some trial and error. Basically I have my forced ssh command script intercepting the rsync call and setting the parameters myself. Thanks all of for your help. I still may have more questions but so far it is looking good! Doug On Dec 7, 2007 2:29 PM, Doug Lo

Re: remote logging non-daemon mode

2007-12-07 Thread Doug Lochart
Matt, Questions for you based on your earlier response > > Anyway, it's easy do a secure rsync daemon setup with ssh connections > and authentication. Make a separate daemon configuration file for each > user listing only the modules he/she is allowed to access. Then set > each user's forced co

Re: default options in --server mode

2007-12-07 Thread Matt McCutchen
On Fri, 2007-12-07 at 11:18 -0500, Doug Lochart wrote: > I am running an rsync command that will have the --server option > appended automagically by rsync. However I do notice that other > default options go along with it. This is what i am seeing: > > rsync --server -vlogDtpr --log-format=%o

Re: Permission issue while using rsync.

2007-12-07 Thread Matt McCutchen
On Fri, 2007-12-07 at 12:35 +0530, [EMAIL PROTECTED] wrote: > Curiously, whatever be the file permission it masks the group and > users to 00 and retains the perm for owner. > However, If we add the -p bit to rsync, it's retaining the > permissions. This is strong evidence that the umask seen by

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-07 Thread Izidor Jerebic
On 7.12.2007, at 17:13, Greg Loesch wrote: Okay, I tried adding the extra v's and this is what I ended up with. I'm now using the latest version (3.0.x or whatever it is). FILE_STRUCT_LEN=16, EXTRA_LEN=4 cmd= machine=[sitename] user=[username] path=[filepath] cmd[0]=ssh cmd[1]=-l cmd[2]=[use

Permission issue while using rsync.

2007-12-07 Thread vasumg
Hi, Until now we have been using rsync with SSH for copying data across different sites. They are bundled within wrappers and are circulated thru' cronjobs. All the sites exchange data in this way. It is working fine in all the sites, but except for 1 site. It transfers the files fine, but it chan

pre-exec quit executing

2007-12-07 Thread Yan Seiner
I'm trying to track down a mystery. I have a remote box that's running rsync 2.6.9. I tested it and everything worked fine for a while. I use pre-xfer exec to mount the cifs shares that I will rsync and post-xfer exec to unmount them. All of this worked fine in the shop and for the first two

default options in --server mode

2007-12-07 Thread Doug Lochart
I wanted to start a new thread for this aspect instead of continuing my previous in case others have similar questions. I am running an rsync command that will have the --server option appended automagically by rsync. However I do notice that other default options go along with it. This is what

DO NOT REPLY [Bug 5124] Lessons to learn from other tools, better use of resources, speed gains

2007-12-07 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5124 --- Comment #2 from [EMAIL PROTECTED] 2007-12-07 04:40 CST --- It does so in parallel, via fork()... Have not looked to see if rsync is doint the same thing, but the point is that it opens multiple sockets to do it's job. -- Configure

small issue in rsunc 3.0.0 pre6

2007-12-07 Thread Olivier Thauvin
I was running an rsync (local) to duplicate a big tree when I saw this 14366 100% 16.94kB/s0:00:00 (xfer#2357808, to-check=-481/5079231) Notice the negative number after "to-check". I don't think this is a big issue, but it exists. Regards. signature.asc Description: This is a di