Philipp Herz - allied internet ag
2010-Feb-05 07:24 UTC
rsync 3.0.7 - error deleting directory
Hi, based on a nightly cronjob we use "rsync --delete" to delete partitial directory structure from a backup folder. Sometimes rsync is unable to delete structure as told. rsync: unlink "/backup/usr/lib/gcc/x86_64-linux-gnu/4.1.3" failed: Is a directory (21) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] Please let me know if there are any known reasons for this behavior. Regards - Philipp
[Going through old email.] On Fri, 2010-02-05 at 08:24 +0100, Philipp Herz - allied internet ag wrote:> based on a nightly cronjob we use "rsync --delete" to delete partitial > directory structure from a backup folder. Sometimes rsync is unable to > delete structure as told. > > rsync: unlink "/backup/usr/lib/gcc/x86_64-linux-gnu/4.1.3" failed: Is a > directory (21) > rsync error: some files/attrs were not transferred (see previous errors) > (code 23) at main.c(1042) [sender=3.0.7]That's weird, rsync shouldn't be trying to unlink a directory. If you can still reproduce this, please post strace output for the generator so we can see what is going on. -- Matt