delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/28/15:24:25

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc:content-type; q=dns; s=default; b=siQj
+LAQongPUQhLTPix6TocmwZxSLN4LITn4AccLz4C7rRw9JQKIWzSPfVoymg9Hv2z
t4dPwZcGjdTdPCoAdXNcW3KXgfsR4TIqI3MqiQxbQgjX5qnVjHls80FxuVxbNhV7
02LHEXxm9zzw/ajI6YkxKSDrhmc576khJmYGTVo=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc:content-type; s=default; bh=3Xg+i/G+U2
vLEskYFE1UQbJ69JA=; b=DbI5IRiNgA7ayyTWXOl4gWaMAF0KBZs0oWOx9cLY0P
kLQQhpM4WYMHbdQmYKqbPDuJCFW6Wiuc9DJhgCLrStgK4cz+eJm6aAKcUb2nYGjY
4ZcAUq6jSsTrTLxxhLGHnBgMw8GTtHs4FU4CkhCGE7nwEyWjSfbyrGZ9uv5q906Z
w=
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.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Received:1385, H*r:2002
X-HELO: mail-qt1-f178.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=A06nlpzYcIL/kQ48Yk7Bca7jnxPDVdKG2r+iNBNlZFI=; b=gJOjx9/na8I0tclVqw/SLZyJAftwAvPQZSfqIzhkOyTwtG/w9/Qbx1iYz48IaUlgia ZXldtYoNat7uM9yfA+kEursKu51DxOWtQq1vhfIypo2HhdBDsqWkVbM+WJ28AfQG2RN1 UjcrDSky41A1qCuQ+O+rkV0/LhEhBhkBEIghWTLlrQQfFTfoWsp124eZ2SzcwbAshpWT w+iCrLpe1+KmQwIMVS8OLdyiLjY7ABhJAdlvQLY985tRKu9HPOcSJYzkEN3n7RIlHphj zC4aDQ2k1uS3O0XSuufcNRh6EQidfQAHtSrOd+VfDKIqCBbLjdYEgrjvf5IQz94LPlSj AByw==
MIME-Version: 1.0
In-Reply-To: <623944058.20191228165859@yandex.ru>
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> <623944058 DOT 20191228165859 AT yandex DOT ru>
From: Lee <ler762 AT gmail DOT com>
Date: Sat, 28 Dec 2019 15:23:28 -0500
Message-ID: <CAD8GWstwZmCHVq8faZ9imyjTpzMRc1WiMbkMFT73t=L+zuWPuA@mail.gmail.com>
Subject: Re: Files created with CYGWIN have "NULL SID:(DENY)" windows ACL, inter alia
To: cygwin AT cygwin DOT com
Cc: Peter Binney <peter DOT binney AT gmail DOT com>
X-IsSubscribed: yes

On 12/28/19, Andrey Repin  wrote:
> 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.

Try adding the exec option to fstab:

$ grep cygdrive /etc/fstab
# none /cygdrive cygdrive binary,posix=0,user 0 0
none /cygdrive cygdrive binary,posix=0,user,noacl,exec 0 0

$ which xcopy
/cygdrive/c/windows/system32/xcopy

$ ls -l /cygdrive/c/windows/system32/xcopy
-rwxr-xr-x 2 Lee None 47616 Sep 15  2018 /cygdrive/c/windows/system32/xcopy.exe

Regards,
Lee

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