pulling tree : semantics problem

jw schultz jw at pegasys.ws
Tue Feb 4 21:19:41 EST 2003


On Tue, Feb 04, 2003 at 03:22:30PM +0530, Vardhan Varma wrote:
> Hi,
>   
> I'm trying to pull my home from a remote machine.
> I get a error
> 'failed to set permissions on home : Not owner'
> which is obvious:
> 
> rsync -a remote:/home/foo/bar/zee  /
> this create /home/foo/bar/zee here , but give above error
> I don't own /,/home but i own /home/foo/bar and lower.
> 
> If i tell rsync to:
> rsync -a remote:/home/foo/bar/zee  /home/foo/bar
>   it creates /home/foo/bar/home/foo/bar/zee !!
> 
> How do i tell rsync to basically cd to /home/foo/bar on remote machine
> and rsync zee from there, so that here i can 'catch' it /home/foo/bar
> and don't bother about permissions of /,/home,/home/foo,/home/foo/bar

What you report is consistant with the -R or --relative
option.  If you haven't put those on the command line i'd
look to see if you have any aliases or a script frontending
rsync.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt


More information about the rsync mailing list