This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ACLs restore mismatch, especially with Rsync


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]