Recently I had a problem with a .gvfs file in a users home dir causing an rsync backup to fail, throwing the following error:
receiving file list ... rsync: readlink_stat("/home/username/.gvfs") failed: Permission denied (13) done username/.xsession-errors sent 42 bytes received 1746118 bytes 36003.30 bytes/sec total size is 31178158898 speedup is 17855.27 rsync error: some files could not be transferred (code 23) at main.c(1298) [generator=2.6.8]
I attempted to remove or change the permissions on the .gvfs file as root, which failed… ls -la also failed to list the file… I fixed this problem by doing the following:
umount /home/username/.gvfs rm -rf /home/username/.gvfs
My rsync backups now complete successfully. w00t \o/