AW: rsync raising an IO error for an excluded file

2002-04-25 Thread Martin Bene
Hi Martin, > > > Shouldn't/couldn't the "ignore silently if excluded" be > specified less > > > strictly to cover the above "permission denied" error as well? > > > > I think you're right. Martin Pool, what do you think? > Martin Bene, could > > you please try coding and testing a patch that

Re: limiting metadata updates

2002-04-25 Thread Martin Pool
There's no way to do that at the moment; --chmod and --chown options to set metadata in flight are on the todo list. In fact I think there's a patch around for chmod, though I seem to remember the last version had a couple of shortcomings. -- Martin -- To unsubscribe or change options: http://

limiting metadata updates

2002-04-25 Thread Phil Howard
Is there a way to specify to rsync that metadata should NOT be updated unless the object was created, or the contents of a file was modified. Specifically, what I want to do is use rsync to "install" a file tree of a few changes (a package being replicated to multiple machines after it has been c

Re: "symmetric" mirroring (was "testing")

2002-04-25 Thread Rich Winkel
Hi Martin, I guess I need to be more specific. I have a unix user who has unix machines at home and at work. He wants local access to the same set of files whether he's at home or at work. > If each side updates a non-overlapping set of files you can do this > using --update to push only the n

Re: 4.4BSD chflags support for rsync

2002-04-25 Thread Rolf Grossmann
Hi Dave, on Thu, 25 Apr 2002 15:52:56 -0500 Dave Dykstra wrote concerning "Re: 4.4BSD chflags support for rsync" something like this: > I think the --flags patch is probably fine, except that that the short > description should at least say "preserve file flags" instead of just > "preserve flag

Re: rsync and missing files?

2002-04-25 Thread Jos Backus
On Thu, Apr 25, 2002 at 12:18:59PM -0500, Dave Dykstra wrote: > The code is currently doing a "continue" after that error, not an exit, so > it should be continuing on to do the rest of the files before it exits. > However, an error message is printed at exit time. It sounds like the files rsync

Re: "symmetric" mirroring (was "testing")

2002-04-25 Thread Martin Pool
On 25 Apr 2002, Rich Winkel <[EMAIL PROTECTED]> wrote: > Sorry for the junk mail, it seems my last post was lost in the ether, > despite being successfully delivered to lists.samba.org (!) > Very frustrating, since I didn't keep a copy of it. > > My question was regarding what might be called sym

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-25 Thread Martin Pool
On 25 Apr 2002, Dave Dykstra <[EMAIL PROTECTED]> wrote: > > The problem is caused because rsync does not close its sockets, and WinSock is a > > quite strict on this. The solution is to shutdown and close the fd. > > This is a 5-minute hack I've done to fix the obvious occurrences of the problem.

Re: rsync raising an IO error for an excluded file

2002-04-25 Thread Martin Pool
On 25 Apr 2002, Dave Dykstra <[EMAIL PROTECTED]> wrote: > > Shouldn't/couldn't the "ignore silently if excluded" be specified less > > strictly to cover the above "permission denied" error as well? > > I think you're right. Martin Pool, what do you think? Martin Bene, could > you please try co

"symmetric" mirroring (was "testing")

2002-04-25 Thread Rich Winkel
Sorry for the junk mail, it seems my last post was lost in the ether, despite being successfully delivered to lists.samba.org (!) Very frustrating, since I didn't keep a copy of it. My question was regarding what might be called symmetric mirroring, where two sets of identical files, both being s

Re: "invalid uid rsync" (was Re: rsync HELP!!!) (get a clue about writing Subject lines)

2002-04-25 Thread Martin Pool
On 25 Apr 2002, Dave Dykstra <[EMAIL PROTECTED]> wrote: > Did you mean rsync's call to chroot, or a chroot around the whole > invocation of rsync? Rsync's chroot doesn't happen until after the "uid =" > in rsyncd.conf is processed, so that still works without copying in the > passwd file. Oh, q

testing

2002-04-25 Thread Rich Winkel
123 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: [rproxy-devel] rdiff deltas not very good compared to pysync, why?

2002-04-25 Thread Donovan Baarda
On Wed, Apr 24, 2002 at 09:46:09PM -0400, Shirish H. Phatak wrote: > Hi Martin, > > I can definitely help in managing the librsync package, especially > since I will be maintaining our local tree anyway. As of now, I don't > have the resources to get the Windows stuff tested; however, I can

Re: rsync 2.5.5 --delete-after option bug

2002-04-25 Thread Wayne Davison
On Thu, 25 Apr 2002, Dave Dykstra wrote: > I think --delete-after should imply --delete. Would someone like to > work up the simple patch to the code and the man page? Sure. Here's one (note that the OPT_DELETE_AFTER enum was already defined for some reason). ..wayne.. ---8<--8<--8<--

Re: Patch to avoid 'Connection reset by peer' error for rsync on cygwin

2002-04-25 Thread Dave Dykstra
Does anybody know if this might cause problems on non-Windows machines? Would "shutdown" need to be checked in configure, or is it implemented on all Unix variants? I don't recall ever seeing a need for it on Unix. - Dave On Wed, Apr 03, 2002 at 11:39:57AM +0100, Max Bowsher wrote: > The proble

Re: Handling of backup files - two new features proposed

2002-04-25 Thread Dave Dykstra
On Mon, Apr 01, 2002 at 06:14:38PM +0200, Michael Zimmermann wrote: > Dear list members, > > there are two new rsync-features I made up and would like to discuss with you. > > If you think these new features might be useful for the whole rsync-community, > please give me a note and I'll send you

Re: Block of unwanted zeros in a dest file

2002-04-25 Thread Eric Whiting
Dave Dykstra wrote: > > Eric, which version of Sun operating system were you running, and was there > any NFS involved? What's a NAS disk? Yes NFS on both ends. Solaris 8 on destination. Netapps NAS boxes on both ends. NAS -- Network Attached Storage. Netapps F720 NFS 'toaster' boxes. (lots

Re: rsync raising an IO error for an excluded file

2002-04-25 Thread Dave Dykstra
On Thu, Mar 28, 2002 at 11:37:31AM +0100, Martin Bene wrote: > Hi, > > when syncing from windows NT/cygwin to linux usimg rsync 2.5.2 I get the > following error: > > readlink pagefile.sys: Permission denied > IO error encountered - skipping file deletion > > pagefile.sys is however in the excl

Re: Rsync message: client: nothing to do

2002-04-25 Thread Dave Dykstra
On Tue, Mar 26, 2002 at 06:18:40PM -0800, Yuri Kretov wrote: > Hello, > > May be I am wrong, but why rsync tells me that it's nothing to do? > I just want to synchronize the directory's attributes (with no recursion) such as: > permissions, owner, group and time. > > Example: > === > > host

Re: Block of unwanted zeros in a dest file

2002-04-25 Thread Dave Dykstra
Eric, which version of Sun operating system were you running, and was there any NFS involved? What's a NAS disk? I had a user who reported having rsync (a CVS version between 2.5.4 and 2.5.5) produce a file filled with nulls but he was copying from a Solaris client which was mounting over NFS fr

Re: Rsync ownership/group/permission on Windows and Linux question

2002-04-25 Thread Dave Dykstra
I'm cleaning out my rsync mailbox and it looks like nobody responded to your questions. On Mon, Mar 25, 2002 at 02:56:18AM -0600, Poe Chen wrote: > Hi, all, > > I'd like to know if there is a way to set the ownership/group/permission > when you are transfering files from a Windows clients to a L

Re: 4.4BSD chflags support for rsync

2002-04-25 Thread Dave Dykstra
I'm sorry for the long delay in replying. I'm cleaning up my rsync mailbox now after a one week vacation and about a month of not having time to look at it. I think the --flags patch is probably fine, except that that the short description should at least say "preserve file flags" instead of jus

Re: rsync server over SSH

2002-04-25 Thread Dave Dykstra
On Tue, Apr 16, 2002 at 01:04:09PM +1000, Martin Pool wrote: > I haven't had a chance to test this recently, but Dave just reminded > me that it ought to merge soon and I agree. > > I was thinking about this the other day in the context of the > Bitkeeper "bk url" manpage (if Colin will forgive m

Re: rsync 2.5.5 --delete-after option bug

2002-04-25 Thread Dave Dykstra
On Tue, Apr 23, 2002 at 12:08:56PM -0400, Corey Stup wrote: > > > The option --delete-after does not seem to work. > > > > In a command such as > > > > rysnc -avzSH --progress --stats --delete-after remote::XYZ/dirX /export/home > > files removed from the source are not removed at the d

Re: "invalid uid rsync" (was Re: rsync HELP!!!) (get a clue about writing Subject lines)

2002-04-25 Thread Dave Dykstra
On Mon, Apr 22, 2002 at 11:40:58PM +1000, Martin Pool wrote: > On 22 Apr 2002, Sonu Singh <[EMAIL PROTECTED]> wrote: > > > i get the following error: > > @ERROR: invalid uid rsync > > You probably have a line like > > uid = rsync > > in the server's rsyncd.conf, but there's no such user defi

Re: no output from perl script

2002-04-25 Thread Joseph Annino
I see a lot of good advice has been posted about stuff that is quite good to know about perl. A simpler solution though might be the File::Rsync module available on CPAN. I use it a lot and it works very well. It will generate the rsync command line for you, and it can be given a callback which

Re: rsync and missing files?

2002-04-25 Thread Dave Dykstra
On Wed, Apr 17, 2002 at 10:57:56AM -0500, John Madden wrote: > send_files failed to open //home/user/Maildir/new/_dwG.NeZv8.blah: No such > file or directory > rsync error: partial transfer (code 23) at main.c(578) On Tue, Apr 23, 2002 at 11:50:41AM -0701, Jos Backus wrote: > > >> I'd be quite ha