Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41EE571A.5080500@etr-usa.com> Date: Wed, 19 Jan 2005 05:48:26 -0700 From: Warren Young User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 MIME-Version: 1.0 To: Cygwin-L Subject: Re: Using rsync to sync to NTFS: permission issues References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Wim Heemskerk Lists wrote: > I (want to) use rsync under cygwin to sync files from a Linux box to a > WinXP box. I want to maintain a full backup, including the file > permissions. Without something like NIS or LDAP to synchronize the user and group databases between the machines, I think you will have problems with that goal. > -> rsync locks itself out sometimes: when I sync a file my way with > permissions like this: rwxrwx--- user1:user1 rsync will make it just > fine. But: when it wishes to update that file next time, it has no > access. Are you running rsync as the SYSTEM user? > -> rsync handles this rather badly btw: it goes to 100% CPU use and > stays there forever and ever, not getting any further I've seen this before, but only on a Win98 box, where it would freeze the machine, hard. I have no more information on the problem beyond that, and won't be able to investigate it because that box has since been replaced by a WinXP box. > -> WinXP info tell me that to get this special access the application > must use the NTFS back-ups API. Apperently cygwin+rsync does not.. how > can I change that? Such an effort would be best done with a native port of rsync, I'd think. Adding Win32-specific calls to Cygwin rsync would be missing the whole point of Cygwin, I think. Bottom line, I think if I had a hard requirement to back up files with permissions from a Linux box to a Win32 box, I'd just tar them up and send the tar file to the PC. If you don't compress the tar file, there's a nonzero chance that rsync can still save some I/O when synchronizing after the first copy. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/