delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/21/12:26:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 21 May 2012 18:24:58 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ACLs restore mismatch, especially with Rsync
Message-ID: <20120521162458.GO7763@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CANs8wdASbT91Gn8FsLMDCR3_em=-ABLGjZPeA3i-TmcygDQPkQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CANs8wdASbT91Gn8FsLMDCR3_em=-ABLGjZPeA3i-TmcygDQPkQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019