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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=WIKh7VGM2JlXosI3
	m5oe+tC9LvrEIvU2pmKZbHUT8GwpEB3ySoC8g4moDuW87JSBsSFXa7UAsgMXNHaJ
	W0hSRRtRFgGIXJ/0TazR59rsuEgO6jTUJELdiYOc+HCoBJa0sSZHKgIPWxmCTHAl
	H7VGFZLDHvMf54scTCv3Y3xfCaQ=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=outbpGWCB9vRORc7Nc3ZMn
	/tJck=; b=byJ9htQeAS08UGemk3xzI5LPn+AMQRayKhIw1wZiQhGxYlHExduAGX
	Milfk024gDKS5uSyF9kWLhGeHD8TbFuGQqiMxvKElKvNSCIiiOaNK8wozbBcQ1qm
	0W3HsGKRG50s1f8hITvsOsVG/z6h9yaHGPFtydIe0pN6sO2hx1m1c=
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-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=lacking, HX-Languages-Length:1079, H*UA:Bat!, H*F:D*ru
X-HELO: forward100j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1577541901;	bh=keB7+DN07YZlSkJ7wKTo0akqc1JajyVikTKt/lEkmR8=;	h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;	b=Z/7fzOTnEmjVb+WJPQjHN/1FaeoOG6yHZihnJYDHv2OsWT149fy9BSCpu4iKMBhtl	 Cg/+K1kO03WM/fiqRGgGjguq91rpajKZJXcwJoT+DwSLIpfRamlNnpsW4s4U9wztTY	 f6Y1ZoQnZSZURVMWYLijGzuUlGnyyRtW7VJAG9dE=
Authentication-Results: mxback2q.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Sat, 28 Dec 2019 16:58:59 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <623944058.20191228165859@yandex.ru>
To: Peter Binney <peter.binney@gmail.com>, cygwin@cygwin.com
Subject: Re: Files created with CYGWIN have "NULL SID:(DENY)" windows ACL, inter alia
In-Reply-To: <CAJiKf6HWP1vv1wN93R0znRnL1A0TNY+5CAm50mny4nrMqcBVPA@mail.gmail.com>
References: <CAJiKf6Ht6DA4hyVHWCocFwC5CNvkWNTMPZvitGdF-YyTgVYYfA@mail.gmail.com>   <1857710854.20191222165411@yandex.ru>  <CAJiKf6HiNckg8rHxibwrP=+n-rxobyVmSTH8kaooRtH8MXXmvA@mail.gmail.com>  <1466141893.20191224121706@yandex.ru>  <CAJiKf6HWP1vv1wN93R0znRnL1A0TNY+5CAm50mny4nrMqcBVPA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Peter Binney!

Bottom posting in this list, please.

> Hello Andrey - many thanks again.

> I have added noacl to the default fstab entry, so it reads:
> none /cygdrive cygdrive noacl,binary,posix=0,user 0 0

> and that sorts out the permissions problem, thank you.

> But, bizarrely, it introduced a new one - the WHICH command no longer
> reports non-executable files on the PATH.

> Such files are found and executed OK (presumably because Windows logic
> is adhered to, where execute permission is not required), but WHICH
> doesn't "see" them.

> So I had to build a work-around for WHICH (which I use in various
> scriptware) since I can also find no way to set the execute bit on a
> file ("chmod a+x" doesn't seem to do anything with or without noacl).

This could be actually because you are lacking executable permission on your
files. Which Windows by default always set.


-- 
With best regards,
Andrey Repin
Saturday, December 28, 2019 16:57:49

Sorry for my terrible english...


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

