From owner-freebsd-isp@FreeBSD.ORG Wed May 28 03:14:48 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B5CA37B401 for ; Wed, 28 May 2003 03:14:48 -0700 (PDT) Received: from ns3.unixmexico.net (ns3.unixmexico.net [69.10.137.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1868243F93 for ; Wed, 28 May 2003 03:14:47 -0700 (PDT) (envelope-from nbari@unixmexico.com) Received: (qmail 61079 invoked by uid 85); 28 May 2003 10:15:05 -0000 Received: from nbari@unixmexico.com by ns3.unixmexico.net by uid 82 with qmail-scanner-1.16 (hbedv: 6.19.0.3/6.19.0.13. Clear:. Processed in 0.314167 secs); 28 May 2003 10:15:05 -0000 Received: from ns3.unixmexico.net (HELO mail.unixmexico.com) ([69.10.137.124]) (envelope-sender ) by ns3.unixmexico.net (qmail-ldap-1.03) with SMTP for ; 28 May 2003 10:15:05 -0000 Received: from 148.243.211.182 (SquirrelMail authenticated user nbari@unixmexico.com) by mail.unixmexico.com with HTTP; Wed, 28 May 2003 05:15:05 -0500 (CDT) Message-ID: <4344.148.243.211.182.1054116905.squirrel@mail.unixmexico.com> In-Reply-To: <87u1bgo5i2.fsf@Pectopah.shenton.org> References: <2217.148.243.211.187.1054021261.squirrel@mail.unixmexico.com><1054021 870.3ed318ee732fb@www.digitalinscription.net><2404.148.243.211.187.105 4023759.squirrel@mail.unixmexico.com> <87u1bgo5i2.fsf@Pectopah.shenton.org> Date: Wed, 28 May 2003 05:15:05 -0500 (CDT) From: nbari@unixmexico.com To: "Chris Shenton" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-isp@freebsd.org Subject: Re: replicating data over 2 servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 10:14:48 -0000 unison seems to be ok, but now i have another problem: I am trying to download some files from a server using unison via ssh, the files are owned by www:www and mode rw only by the user (chmod 600), but I am geting an Permission denied messages when trying to download this files. I can not login directly with user root to the server, but I can do su - with the user that I use to acces to the server, so my question is, how can download does files? i dont want to change permisions to does files. i have already addes my user to the www group, but still geting the Permission deniedd message. any idea? thanks. > nbari@unixmexico.com writes: > >> the problem when using rsync in both servers is that if data on server A >> is updated, and data on server B is updated at the same time, there is >> a >> chance to lost data. >> >> If a user writes to a file on server A and then rsyn is executed data >> will >> be lost, and so if a users writees on server B an rsync tryis to fecth >> from server A data will be lost > > I haven't used this yet but it sounds like it fits the bill: > > http://www.cis.upenn.edu/~bcpierce/unison/ > > Unison is a file-synchronization tool for Unix and Windows. (It also > works on OSX to some extent, but it does not yet deal with 'resource > forks' correctly; more information on OSX usage can be found on the > unison-users mailing list archives.) It allows two replicas of a > collection of files and directories to be stored on different hosts > (or different disks on the same host), modified separately, and then > brought up to date by propagating the changes in each replica to the > other. > > Unison shares a number of features with tools such as configuration > management packages (CVS, PRCS, etc.), distributed filesystems > (Coda, etc.), uni-directional mirroring utilities (rsync, etc.), and > other synchronizers (Intellisync, Reconcile, etc). However, there > are several points where it differs: > > [...] > > It's in /usr/ports/net/unison > >