Re: exclude everything and include directories

2004-02-26 Thread Wayne Davison
On Wed, Feb 25, 2004 at 06:51:33AM -0500, Don Shesnicky wrote: > It seems that when you exclude everything you then need to include > file by file. Can anyone point me in the right direction? As the docs mention, you have to include every parent directory for every file you want to include or the

Help needed with Failed to dup/close error

2004-02-26 Thread Ian McCulloch
Hi - i'm receiving the following error when attempting a local copy with rsync: Failed to dup/close : Socket operation on non-socket rsync error: error in IPC code (code 14) at /home/lapo/packaging/tmp/rsync-2.6.0/pipe.c(131) rsync: read error: Connection reset by peer rsync error: error in rsync

Re: setuid rsync

2004-02-26 Thread Wayne Davison
On Thu, Feb 26, 2004 at 07:30:47PM -0600, Daniel S. Cohen wrote: > Anyone have any ideas why the setuid rsync is not perserving ownership? Because rsync doesn't realize it is root, so it doesn't try to chown anything. Try the CVS version -- I changed it recently to use geteuid() and getegid() (wh

Re: remote files not being deleted

2004-02-26 Thread Trey Nolen
> > It may be that you are running out of memory. --delete > causes the a second file list (about 100bytes/file) to be > created contianing all the files existing on the receiver. > Combined with --delete-after this happens at the time when > the memory usage is at its greatest due to copy-on-writ

Re: remote files not being deleted

2004-02-26 Thread Trey Nolen
> > That lack of deletion is fixed in 2.6.0. You can work around the > problem by either getting rid of the -R option (you don't need it in > that particular command) or by specifying "/." instead of "/" as the > source of your copy. > That did the trick! Thanks! Trey Nolen -- To unsubscri

exclude everything and include directories

2004-02-26 Thread Don Shesnicky
Anyone? Even a yea or nea at this point would be appreciated. Don - I'm trying to update some laptops from a large server directory for an EDA app. Most of the time I just rsync the entire directory and exclude the odd item. In this case it's the reverse where I want to exclude everything bu

setuid rsync

2004-02-26 Thread Daniel S. Cohen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I trying to create an automated backup from one machine to the other via SSH. I have setup ssh keys and so on, so everything is pretty much working. The only thing is, I am trying to perserve file ownership. I don't want to use ssh keys w/o a

Re: remote files not being deleted

2004-02-26 Thread jw schultz
On Thu, Feb 26, 2004 at 08:05:30AM -0600, Trey Nolen wrote: > > > > It may be that you are running out of memory. --delete > > causes the a second file list (about 100bytes/file) to be > > created contianing all the files existing on the receiver. > > Combined with --delete-after this happens at t

rsync error: some files could not be transferred (code 23) at main.c

2004-02-26 Thread Jonathan Hurley
I am using rsync to backup a machine with a large number of files, and I am getting this error. It would be helpful to know which files this is occuring with, to diagnose the problem. Is there a configuration option to rsync (that I may have missed) that will reveal this info. Alternatively, is

Re: [patch] Correct configure test for sin_len to compile on Tru64 Unix

2004-02-26 Thread Petter Reinholdtsen
[Wayne Davison] > The problem is deeper than that. The HAVE_SOCKADDR_LEN define surrounds > both code that uses sin_len and sa_len, so your change will probably > cause problems for other systems. So, it looks like we need 2 configure > tests and separate defines for sa_len and sin_len. Oh. I s