X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=ey9016g5FPhyHrJF
	+vN9v7RwGBl62bpxiZ8t2CRpwKO4hx+4LFQdO7iamyFx5J48UiyM1yl1IrkHM0LY
	AITV2FCgbLW1333zVwN1lI+bh/J3UftsBfyNKWy1mYqsPdd+UQa0b72R71+GIJ6i
	Rn1c2klgsQM0N3748G5a1ZEvFME=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=qT4ABlS3pFqqqG/hp3cR7S
	yCX/o=; b=ltSNE3/tObo4oVXzRTNn+Zeh6lXmpArdJJaa0pE13TO3LwDUFehKn3
	p2QKTpHe49ZqCr9ASvqigprAqfvYLFAnFRRyhbpWfo4929LrZyVT4e+LrW/GYKku
	vY2VinVHAbPuG/xnsNx1URy04yMY9v2OejSjrwFqRPY3KfmeeNSsM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=dig, H*M:48c3, HContent-Transfer-Encoding:8bit
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss@cs.umass.edu
Subject: Re: Filemode change by windows applications
To: cygwin@cygwin.com
References: <CAFeO1eoW52-4S4gD0=YL7g1YKsjjn9Jk8twV22e57HmmKQc5vg@mail.gmail.com> <06ceaabb-dd38-881b-c900-4c695e31e95a@cs.umass.edu> <CAFeO1eo4QMzD_edJjmgpMBg1YtRX7w4vZ3QKmXW7J1ZkwqZxMA@mail.gmail.com>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <be29d762-48c3-5307-ccba-83147b47a73a@cs.umass.edu>
Date: Wed, 28 Mar 2018 10:50:37 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAFeO1eo4QMzD_edJjmgpMBg1YtRX7w4vZ3QKmXW7J1ZkwqZxMA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 3/28/2018 10:27 AM, Kjetil Østerås wrote:

> Do you know where I can find documentation or source code that describes
> the mapping that cygwin implements?

See: https://cygwin.com/cygwin-ug-net/ntsec.html

This is referenced in the Cygwin FAQ.

It's complicated, but I think the doc explains it.  Corinna (or someone)
can correct us if the doc is not up to date ...

As for source code, all the source for Cygwin is available.  Probably
not for the average user of Cygwin to try to dig into, since you need
pretty deep knowledge of both Windows APIs and of Posix semantics, but
everything is there, and useful patches will always be considered.

Regards - Eliot

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

