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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: <1857710854 DOT 20191222165411 AT yandex DOT ru> <1466141893 DOT 20191224121706 AT yandex DOT ru> <623944058 DOT 20191228165859 AT yandex DOT ru> From: Lee Date: Sat, 28 Dec 2019 15:23:28 -0500 Message-ID: Subject: Re: Files created with CYGWIN have "NULL SID:(DENY)" windows ACL, inter alia To: cygwin AT cygwin DOT com Cc: Peter Binney Content-Type: text/plain; charset="UTF-8" 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