Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 31 Oct 2003 12:13:12 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ACLs are not handled correctly
Message-ID: <20031031111312.GD3531@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <200310310915.h9V9F6oW016115@newsguy.com> <1jl52vdb5unc9.dlg@thorstenkampe.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1jl52vdb5unc9.dlg@thorstenkampe.de>
User-Agent: Mutt/1.4.1i

On Fri, Oct 31, 2003 at 11:51:31AM +0100, Thorsten Kampe wrote:
> * Dierk Schmedes (2003-10-31 10:15 +0100)
> > Problem: nearly each tool that the create or modify a file/directory (e.g. cp,
> > touch, setfacl) ignore the ALCs of the current directory or add further 
> > users/groups to it.
> 
> > Example
> > /home/dierk has the following ACLs (listed with xcalcs.exe from the MS
> > resource
> > kit; same with Explorer)
> 
> > xcalcs F:/cygwin/home/dierk
> > f:\cygwin\home\dierk <domainname>\dierk:F
> >                      NT AUTHORITY\SYSTEM:(OI)(CI)(IO)R
> 
> > Now I create a new file (e.g. touch /home/dierk/newfile). Everyone expect that
> > the file has the same rights as my home folder /home/dierk, [...]
> 
> Why? Cygwin doesn't support ACLs and inheritance - including Windows
> ACLs. And "cp" or "touch" don't either - "umask" is the thing they
> ask.

Cygwin does support ACLs, but only in a POSIX sense. Plus a funny (but
incomplete if it comes to inheritance) implementation of Solaris ACLs.
Cygwin is not Windows but POSIX on top of Windows.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

