delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/29/12:58:08

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:references:in-reply-to:from:date
:message-id:subject:to:cc:content-type; q=dns; s=default; b=C+5G
BW/O2PHq1yxg7feRqUKcgI0GUom69/42/0KF6mwCiD7WO8hICoQmR7uccm9oSMa+
WoO+1k6zVrGcEIjNAr0nK8a/wSWvak6+NiAvEZZdg9n7M1KxEWdd9HMHdXDVb2oM
znycMpFmUSxAk+JIGqUN/wFEFjUL3JI5fpVX92w=
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:references:in-reply-to:from:date
:message-id:subject:to:cc:content-type; s=default; bh=AjKst1VT1z
j9GFEvBQ0JmrDDnRc=; b=XMK0RhpF0QAytw2bRVdWwKdprKh1MDPByXZ2tjdsWZ
LnH5rcHhoBgawsfPbr09Ebo23VVj5qa2BisUUd56UqGK+d0pH8Eg/cwfnRHLbtlA
MeMuK1jzQXizKeBPj52GN3alhMOsCVATKGkvYLNJLfAj02htRaoqhLRaHlV2UaeH
Q=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: mail-ed1-f46.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZZQQbjoxzEQV0eyCtH8fx7KjYEQmMS692oL86bbVl7M=; b=B6iL3oYeuQemwyAsVlwApkSTme1XsXegy0C5vxsxD8dq1p9haQaa564ms6ziVh8vSz 8KFTKRR4sD2PIJgr1PzmlkB0MyIDFyGcd6F1t7RascWkxIOBCnMR6nKHr8qVY1aLpvO9 aEBeC8J5iEtApGkP8w+dvnmn1dsfS2/U2G5vWMpzdwiymQXOpDfUYx+STw8WSW95S025 AiKdzScLBR7BCUPF+BCQ75vQkNJwj9vZV70wGchb0smsFjsz9xjAMy6pcoQks4VnFREL iblAHpIOE5sNqNHg+H37T36auPHQIb0KrwuUQuTFqRfXuqpVt8NebcNHxMfeWoK/8QTp JxQw==
MIME-Version: 1.0
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> <CAD8GWstwZmCHVq8faZ9imyjTpzMRc1WiMbkMFT73t=L+zuWPuA AT mail DOT gmail DOT com>
In-Reply-To: <CAD8GWstwZmCHVq8faZ9imyjTpzMRc1WiMbkMFT73t=L+zuWPuA@mail.gmail.com>
From: Peter Binney <peter DOT binney AT gmail DOT com>
Date: Sun, 29 Dec 2019 17:56:47 +0000
Message-ID: <CAJiKf6GKEbcwbEAgu7ssK7NB5j_fYyHuCPpC=uQvhS_5ThHZ2w@mail.gmail.com>
Subject: Re: Files created with CYGWIN have "NULL SID:(DENY)" windows ACL, inter alia
To: Lee <ler762 AT gmail DOT com>
Cc: cygwin AT cygwin DOT com

On Sat, 28 Dec 2019 at 20:23, Lee <ler762 AT gmail DOT com> wrote:
>
> 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

Hi Lee - many thanks indeed for that. I've added "exec" and WHICH now works.

Cheers,
Peter

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