[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] [Errno 13] Permission denied: '/home/username/.

From: Dominic Raferd
Subject: Re: [rdiff-backup-users] [Errno 13] Permission denied: '/home/username/.gvfs'
Date: Sun, 15 May 2011 08:35:40 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110424 Thunderbird/3.1.10


I have never used the --include-globbing-filelist, only the --exclude-globbing-filelist, but here are some suggestions:

Try: run the command with sudo [for cron: put in /etc/crontab]

Or: add '- /home/username/.gvfs' at the *top* of your filelist (if you haven't already tried it there)

Or: put a symlink inside /etc/ to point to /home/username/.ssh/config and then just backup /etc?

Or: do 2 runs of rdiff-backup, one for /etc and one for /home/username/.ssh/config

What has fuse got to do with it? Fuse is not normally used by rdiff-backup. However I do successfully use rdiff-backup to backup a remote /home directory mounted using sshfs, so it can work.


On 14/05/11 23:45, Andreas Herrmann wrote:
Hello everyone,

I'm trying to create a backup of my system configuration using
rdiff-backup. The idea is to have a backup of `/etc' and a few dotfiles
in `$HOME' just in case I screw something up. Ideally this backup should
be performed by a cron job.

rdiff-backup is called as
     rdiff-backup --include-globbing-filelist file_list \
         / $HOME/.backup/local

where `file_list' looks like
     - /**~
     - /.*.swp
     - /**/.*.swp
     - /

The problem: As soon as I put any file inside home into `file_list' the
following error message appears and the backup fails.
     [Errno 13] Permission denied: '/home/username/.gvfs'

Adding `- /home/username/.gvfs' to the file list doesn't help.

Googling around revealed, that this is a known problem and has to do
with fuse [1,2]. [1] even says this issue would be solved in the cvs
version. I've tried 1.2.8, 1.3.3 and the latest cvs version. All produce
the same error message.
The exact error message is attached to the mail.

I had a look at the code myself, but it's not clear to me where to
handle this case. Non readable files should produce an error if they are
listed as source or destination. But, I do _not_ want to backup `.gvfs'
so it should _not_ produce an error...

A quick hack around this is given in [2]. But, it's definitely not an
option for a cron job.


[2] http://ubuntuforums.org/showthread.php?t=783935

rdiff-backup-users mailing list at address@hidden
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

reply via email to

[Prev in Thread] Current Thread [Next in Thread]