X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 21 May 2012 18:24:58 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ACLs restore mismatch, especially with Rsync
Message-ID: <20120521162458.GO7763@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CANs8wdASbT91Gn8FsLMDCR3_em=-ABLGjZPeA3i-TmcygDQPkQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CANs8wdASbT91Gn8FsLMDCR3_em=-ABLGjZPeA3i-TmcygDQPkQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

On May 21 17:46, AZ 9901 wrote:
> Hello,
> 
> 
> 
> I have some Windows machines backed-up using Rsync on a Linux target server.
> Everything runs fine, expect ACLs restoration, does not really seem to
> work as expected.

If you're trying to reproduce the exact permissions as Windows sees
them, you're out of luck with Cygwin.  The ACL handling in Cygwin is
using the Solaris view on ACLs, which is basically the same as the POSIX
view, just using a different API.  The Solaris/POSIX APIs handle only
three permission bits corresponding to the POSIX "rwx".  These are
mapped as useful as possible to Windows permission bits.  If you want
exact Windows ACLs, use native Windows tools.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

