X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Richard Ivarson <RiIvarson@gmail.com>
Subject:  Re: --acls trouble on NTFS source & destination
Date:  Thu, 06 Nov 2008 14:42:11 +0100
Lines: 53
Message-ID: <geus8f$nds$1@ger.gmane.org>
References:  <gd7mvo$9pk$1@ger.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
In-Reply-To: <gd7mvo$9pk$1@ger.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I can't get --acls to work at all. Do you?

When I use it for a RSYNC between a Windows NTFS hard drive and a NTFS USB 
drive, I get the following error message:
----
sending incremental file list

recv_acl_access: value out of range: ff

rsync error: error in rsync protocol data stream (code 12) at 
/home/lapo/packaging/rsync-3.0.4-1/src
/rsync-3.0.4/acls.c(670) [receiver=3.0.4]

rsync: connection unexpectedly closed (9 bytes received so far) [sender]

rsync error: error in rsync protocol data stream (code 12) at 
/home/lapo/packaging/rsync-3.0.4-1/src
/rsync-3.0.4/io.c(632) [sender=3.0.4]
----


Also, using "--permission", or "-owner", or "-group" as kind of alternatives 
doesn't have any effect for all my tests.

Are these four parameters usable on Windows with Cygwin & RSYNC ?
How do you use RSYNC on NTFS remote syncs with Windows' access rights?

-Richard



I wrote:
> Hi again,
> 
> I also use rsync to sync data between a Windows NTFS formatted drive and a
> NTFS formated USB memory stick on the same machine.
> Basically this works (highly similar to for example a rsync between Windows
> and Unix).
> 
> BUT... I never ever get the correct permissions on files and folders on the
> destination. I tried --permission, -owner, -group, etc. but it never 
> works in
> a way that the destination is a mirror of the source.
> 
> Now with the very newest Cygwin rsync version there's finally a port of the
> GNU rsync's --acls parameter. It reads like it would do exactly what 
> many need, but again I don't get it right.....
> 
> How do you get the access rights on the (NTFS) destination to be the 
> same as the (NTFS) source ones?
> 
> -Richard



--
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/

