This is the mail archive of the
mailing list for the Cygwin project.
Re: Using rsync to sync to NTFS: permission issues
- From: Warren Young <warren at etr-usa dot com>
- To: Cygwin-L <cygwin at cygwin dot com>
- Date: Wed, 19 Jan 2005 05:48:26 -0700
- Subject: Re: Using rsync to sync to NTFS: permission issues
- References: <BAY22-DAV635D65CE3B9CA0FECA4DBFE800@phx.gbl>
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
Without something like NIS or LDAP to synchronize the user and group
databases between the machines, I think you will have problems with that
-> 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
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