July 23, 2012

Dirty rdiff-backup hack to fix gvfs

Filed under: Technical — Tags: , , — James Bunton @ 11:15 pm

I use rdiff-backup to keep a copy of the latest version of all my files and compressed differential backups going a year in the past. This works great except when I have a GNOME login and a ~/.gvfs directory. These are special FUSE directories that root user cannot even enter or even lstat(), which causes an annoying error to be emailed to me every night.

I finally got sick of this and have hacked a solution, I’m not proud of it, but it’ll make the emails stop!

$ curl -L --silent https://delx.net.au/code/rdiff-shutup.patch | sudo patch --backup -p0