delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/28/09:06:04

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <623944058.20191228165859@yandex.ru>
To: Peter Binney <peter DOT binney AT gmail DOT com>, cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com> <1857710854 DOT 20191222165411 AT yandex DOT ru> <CAJiKf6HiNckg8rHxibwrP=+n-rxobyVmSTH8kaooRtH8MXXmvA AT mail DOT gmail DOT com> <1466141893 DOT 20191224121706 AT yandex DOT ru> <CAJiKf6HWP1vv1wN93R0znRnL1A0TNY+5CAm50mny4nrMqcBVPA AT mail DOT gmail DOT com>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019