Re: orphan dirs and files with --delete

2004-03-23 Thread Eric Whiting
Wayne Davison wrote: > > On Mon, Mar 22, 2004 at 04:49:15PM -0700, Eric Whiting wrote: > > rsync (2.5.[67]) --delete fails on dirs with the w bit cleared. (example below) > > Rsync will sync a dir with w bit clear, but will not remove it with --delete. > > It's actually debatable what the correct

Re: orphan dirs and files with --delete

2004-03-23 Thread Wayne Davison
On Mon, Mar 22, 2004 at 04:49:15PM -0700, Eric Whiting wrote: > rsync (2.5.[67]) --delete fails on dirs with the w bit cleared. (example below) > Rsync will sync a dir with w bit clear, but will not remove it with --delete. It's actually debatable what the correct behavior is in this case. Using

Re: orphan dirs and files with --delete

2004-03-22 Thread Eric Whiting
I still get the same error with --force --delete. There needs to be a chmod on dir before the files and dir can be deleted. eric Tim Conway wrote: > > --force force deletion of directories even if > not empty > > SunOS 5.8 Last change: 26 Jan 2003

Re: orphan dirs and files with --delete

2004-03-22 Thread Tim Conway
--force force deletion of directories even if not empty SunOS 5.8 Last change: 26 Jan 20037 User Commandsrsync(1) That should do it. Tim Conway Unix System Administration Contractor - IBM Global

orphan dirs and files with --delete

2004-03-22 Thread Eric Whiting
rsync (2.5.[67]) --delete fails on dirs with the w bit cleared. (example below) Rsync will sync a dir with w bit clear, but will not remove it with --delete. This is not a big problem, but it will create situations where there are 'orphaned' files. Has anyone else had this problem? It looks li