Corrupt .gvfs file

Why do I keep getting .gvfs (gnome virtual file system) file appearing as corrupt in /~/usr directory, I can get rid of it by unmounting, but it re-appears later on. It is causing problems as it interrupts my backups (which are automated) with an error message,

ListError .gtk-bookmarks/.gvfs [Errno 13] Permission denied: ‘/home/jimt/.gvfs’

drwxr-xr-x 2 jimt users 4.0K Jun 22 22:00 .gstreamer-0.10
-rw-r–r-- 1 jimt users 132 Jun 24 11:50 .gtk-bookmarks
d??? ? ? ? ? ? .gvfs
-rw------- 1 jimt users 4.3K Jun 24 11:50 .ICEauthority
drwxr-xr-x 3 jimt users 4.0K Jun 23 08:41 .icedteaplugin

Thanks

I guess that /~/usr is a typo of some sort, you meaning either ~ or /home/<your-username>, which are the same for your home directory.

I am getting it also, even if I am not using Gnome,but I use some Gnome based programs. In my case it comes from a backup using rsync.
I just ignore it.

thanks for the reply, yes sorry I meant my home dir, I can’t ignore it because it interupts my backup (using rdiff-backup), so I’ll have to find a longer term fix.

cheers

You should exclude the directory ~/.gvfs from your backup.

Yea, I suppose I could, I’ll try that This one of my backup commands how exactly would fit in

   00 16,00 * * 1-6 rdiff-backup --include /bin --include /boot --include /etc --include /home --include /lib --include /sbin --include /usr --exclude '**' / /media/exhdlin/bkup

Thanks

Hm, that looks a little bit like a cron entry. Not as a command. When it is a cron entry then


rdiff-backup --include /bin --include /boot  --include /etc --include /home --include /lib --include /sbin --include  /usr --exclude '**' / /media/exhdlin/bkup

is the command.
And for your question, as I do not have rdiff-backup installed, but you have, I guess you also have the documentation. Did you try


man rdiff-backup

?
When it is the same as for *rsync, *it would be something like *–exclude=’**/.gvfs’ *. You better check and test this.

(BTW, do you see that I use CODE tags to show computer text instead of the red alert you use: Posting in Code Tags - A Guide )

Yes its a cron and thanks alot I will use CODE tags in future, I tried the excluding the .gvfs file from the backup with the --exclude option, I still get the error message but the backup seems to run ok.

Its annoying that the corrupt file keeps appearing, I googled it and found the bug has been around for years, what is the cause and is there a fix by now.

Cheers

Having read up a little this .gnome virtual file system I see that FUSE does a similar thing, IE allows a user to create their own file system, so I thought there might be a conflict between them somehow, anyway I removed FUSE, and rebooted a few times, and so far the corrupt file has not re-appeared. I would be interested to here what others have to say on the matter.

Thanks