orphan dirs and files with --delete

Wayne Davison wayned at samba.org
Tue Mar 23 17:00:27 GMT 2004


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 "rm -rf" on that same directory tree would also fail, so rsync is
currently behaving in a consistent manner with other unix/linux tools.
I'm inclined to leave it that way.

..wayne..


More information about the rsync mailing list