ACLs restore mismatch, especially with Rsync

Corinna Vinschen corinna-cygwin@cygwin.com
Mon May 21 16:25:00 GMT 2012


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



More information about the Cygwin mailing list