Re: [Hampshire] Rsync backup problems

Top Page
Author: Andy Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] Rsync backup problems

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x585e6100.hantslug.org.uk.17493': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Sat Dec 23 23:46:21 2006 GMT
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
On Sat, Dec 23, 2006 at 11:29:38PM +0000, Victor Churchill wrote:
> On 23/12/06, Tim <xendistar@???> wrote:
> >On Saturday 23 December 2006 20:57, Graham Bleach wrote:
> >> On 23/12/06, Tim <xendistar@???> wrote:
> >> > The user mit has an account on both machines with the same password but
> >> > everytime I do the rsync command I get errors like:
> >> >
> >> > rsync: recv_generator: mkdir "/home/mit/titan-backup/web" failed:
> >> > Permission denied (13)
> >> > *** Skipping everything below this failed directory ***
> >>
> >> What are the permissions and ownership of /home/mit on the machine sun?
> >>
> >> ls -ld /home/mit
> >>
> >> I suspect the mit user lacks the write privilege on the directory.
> >>
> >> G
> >
> >Permissions are:
> >
> >mit@sun:~$ ls -ld /home/mit
> >drwxr-xr-x 12 mit mit 4096 2006.12.23.17:21 /home/mit
> >
> >mit@Titan:~$ ls -ld /home/mit
> >drwxr-xr-x 74 mit mit 8192 2006-12-23 20:07 /home/mit
> >
> >Indentical??
>
> Just wondering whether the two mit users need to have the same UID
> number on the two machines? ... (sorry, not able to test this here and
> now)


Nah, otherwise it would be incredibly difficult to get
rsync-over-ssh to work between different organisations..

My bet's with Graham's suggestion, so could do with comparing
permissions on ~mit/titan-backup also.

Cheers,
Andy

--
http://strugglers.net/wiki/Xen_hosting -- A Xen VPS hosting hobby
Encrypted mail welcome - keyid 0x604DE5DB