delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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: | <BAY22-DAV635D65CE3B9CA0FECA4DBFE800@phx.gbl> |
X-Originating-Email: | [lists_wh AT hotmail DOT com] |
X-Sender: | lists_wh AT hotmail DOT com |
From: | "Wim Heemskerk Lists" <lists_wh AT hotmail DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Using rsync to sync to NTFS: permission issues |
Date: | Wed, 19 Jan 2005 11:40:23 +0100 |
MIME-Version: | 1.0 |
X-OriginalArrivalTime: | 19 Jan 2005 10:40:02.0420 (UTC) FILETIME=[3B324340:01C4FE13] |
X-IsSubscribed: | yes |
Hi, 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. First, this is how far I got: - the XP box uses an NTFS partition to write the back-up on. - rsync runs on the XP box (as it is by far the muscle of the two and can't have a listening port open) and uses the -e ssh option. - cygwin ntea is on, ntsec is left on too. - I am administrator on the WinXP box and attached those credentials to UID 0 undercygwin. rsync is indeed able to set file credentials. - I made all accounts needed on the XP box, as XP doesn't accept use of account / group numbers that aren't tied to an account Now the problem: -> 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. Likewise it makes folders with such permissions and then can't access them to write the files into them. -> rsync handles this rather badly btw: it goes to 100% CPU use and stays there forever and ever, not getting any further -> this non-access is consistent with NTFS file permissions: even an administrator can't normally browse through folders to which he has no access, but: he should be able to make backups of them / place those back, which is what we are doing here. -> 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? Thanks for any help you can provide! -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |