Re: [Hampshire] rsync usage

Top Page

Reply to this message
Author: john lewis
Date:  
To: hampshire
Subject: Re: [Hampshire] rsync usage
On Tue, 02 Oct 2007 00:46:15 +0100
Chris Dennis <cgdennis@???> wrote:

> john lewis wrote:
> > On Mon, 01 Oct 2007 18:58:05 +0100
> > Stuart Sears <stuart@???> wrote:
> >
> >> john lewis wrote:
> >>> I have genealogy data on my server (landing) which I want to
> >>> duplicate on my local system (and eventually to a remote system)
> >>>
> >>> I used rsync with following command as the local user:
> >>>
> >>> rsync -avz landing:/var/lib/geneweb/ /var/lib/geneweb
> >>>
> >>> I get the following messages:
> >>>
> >>> receiving file list ... done
> >>> rsync: failed to set times on "/var/lib/geneweb/.": Operation
> >>> not permitted (1)
> >>> ./
> >>> rsync: failed to set times on "/var/lib/geneweb/.": Operation
> >>> not permitted (1)
> >>>
> >>> sent 32 bytes received 6324 bytes 12712.00 bytes/sec
> >>> total size is 35886561 speedup is 5646.09
> >>> rsync error: some files could not be transferred (code 23) at
> >>> main.c(1385) [generator=2.6.9]
> >>>
> >>> This is the first attempt at syncing the directories on landing
> >>> and local boxes.
> >>>
> >>> should I have run rsync as root or have I missed some part of
> >>> the incantation.
> >> does your local user have write access to /var/lib/geneweb?
> >
> > owner: root, group: geneweb
> > permissions: 42777 (but should probably be 42775)
> >
> > local user is a member of group geneweb
> >
> But does geneweb have write permission on directory /var/lib/? The
> error mentions /var/lib/geneweb/. -- note the final dot -- so it's
> trying to set the timestamp of the geneweb directory, which means
> updating an entry in the parent directory.


ls -al /var/lib gives amongst others:

drwxrwsr-x 12 root       geneweb    4096 2007-10-01 17:47 geneweb


--
John Lewis
Debian (Sid) with the GeneWeb genealogy package