Results 1 to 4 of 4

Thread: Backuppc and Permission denied

  1. #1
    Join Date
    May 2006
    Beans
    Hidden!

    Backuppc and Permission denied

    I've an BackupPC server at home to backup laptops, and since I4ve update to Hardy, rsync crash with the filder .gvfs in all home directory.

    The log file is more explicit :
    full backup started for directory /home/
    Running: /usr/bin/ssh -q -x -l root nameofthelaptop /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --delete --force --compress --ignore-errors --ignore-times . /home/
    Xfer PIDs are now 6270
    Got remote protocol 29
    Negotiated protocol version 28
    Remote[1]: rsync: readlink "/home/nameoftheonlyuser/.gvfs" failed: Permission denied (13)
    Xfer PIDs are now 6270,6272
    [ 2 lignes sautées ]
    Parent read EOF from child: fatal error!
    Done: 0 files, 0 bytes
    Got fatal error during xfer (Child exited prematurely)
    Backup aborted (Child exited prematurely)
    This folder is dr-x------ and is own by the user and rsync run as root
    More, I can't change permissions of this folder...

    Thanks
    XioNoX

  2. #2
    Join Date
    Jun 2005
    Location
    Austria
    Beans
    26
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Backuppc and Permission denied

    I had the same problem when using rsnapshot. I could solve it by excluding this folder. It's important not to write a leading slash (".gvfs" not ".gvfs/"). This is discussed here: http://www.backupcentral.com/phpBB2/...-backup-89739/

  3. #3

    Re: Backuppc and Permission denied

    Reading the link tschaboo provided, it seems that ~/.gvfs/ is a fuse filesystem. You could use --one-file-system like I do when backing up anything ( in my case, the entire / )

  4. #4

    Re: Backuppc and Permission denied

    Also, if you're backing up only one /home/*/ directory, why don't you run rsync with this user permissions instead of running rsync as root ? Not that it matters anyway though.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •