[YLUG] still got problem with rsync to NAS

nigel white xm2 at btinternet.com
Mon Nov 9 18:15:17 UTC 2009


Hi Steve, thanks for this

I changed the script to

#!/bin/sh
RSYNC="rsync -avz"
sudo $RSYNC /home/nigel /mnt/x-backups/autobackup
sudo $RSYNC /etc /mnt/x-backups/autobackup

and ran it. It asked me for my password and then I got -

building file list ... rsync: readlink "/home/nigel/.gvfs" failed:
Permission denied (13)

In the permissions tab for .dbus I see that the owner is root. All
permissions are greyed out as "you are not the owner so you can't change
these permissions". Folder access for owner = create and delete files.
Folder access for group = none and others = none.

What now?

Best wishes
Nigel



On Mon, 2009-11-09 at 14:47 +0000, Stephen Patterson wrote:
> I've just checked on my system, and the .dbus directory should be owned by
> yourself so you should have access to back it up.  What ownership &
> permissions does the directory currently have?
> 
> You also probably won't be able to backup /etc quite like that, as it
> usually contains some files which only root can access. Change the line to
> 
> sudo $RSYNC /etc /mnt/x-backups/autobackup
> 
> and you should e able to copy /etc OK.
> 
> --
> Steve, who helped on saturday
> 
> On Sun, November 8, 2009 6:04 pm, nigel white wrote:
> > Hi
> >
> > Many thanks for your time and efforts at the installfest yesterday.
> > Sorry I couldn't get in to the second day.
> >
> > Sadly I still have trouble doing a backup with rsync to my NAS.
> >
> > When I run the backup.sh scrip that Steven set up for me yesterday I get
> > "building file list ... rsync: opendir "/home/nigel/.dbus" failed:
> > Permission denied (13)"
> >
> > The script is -
> > #!/bin/sh
> > RSYNC="rsync -avz"
> > $RSYNC /home/nigel /mnt/x-backups/autobackup
> > $RSYNC /etc /mnt/x-backups/autobackup
> >
> > This script worked fine at the installfest.
> >
> > Any ideas what to try next?
> >
> > Thanks
> > Nigel
> >
> >
> >
> > _______________________________________________
> > York mailing list
> > York at lists.lug.org.uk
> > https://mailman.lug.org.uk/mailman/listinfo/york
> >
> >
> 
> 




More information about the York mailing list