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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=HETPydft1f0pCpLP
	nCgaAoc3OFljOAxfuCPLCD2Yu5oTLJjuDJXyLRpwoIMi6yx8Pxi7U5l+L4OcTtw2
	7sn2SDZml+E1Oc0v9WXZVibh4lO3Ok18nCaBpAO6tt8WQYbe2lBof/hhXqRSoFGN
	KvzdRLhroXqhGQffanF4f+7oo18=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=6ZB+mUw02/JFZGqM2s792P
	Jc6JI=; b=OvAEx3Bb/iNtqMxKBW3REi9PWwSbawKeyC8NfbzyXM8FGCXaYDSN3A
	lLmfVW1PlTbYJNzEITuheq4qdMv7KxgXrKwdUKGKCimhDuwgzmElwRjN5eCa3xeC
	NHHALDzY7JBzmT1Z18DBiKFl4XbbyWuPE9OwQhuwC8gAu18ugVJ6k=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=regretted, Hx-languages-length:1266, H*Ad:D*ca, perfect
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=kobj13m9HvHxgiDxJrsA:9 a=pILNOxqGKmIA:10
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: No way to use ssh ~/.ssh/config with "noacl" option
To: cygwin@cygwin.com
References: <59FD8C99.8010703@gmail.com> <20171104113723.GC18070@calimero.vinschen.de> <59FDA8D9.6050808@gmail.com> <59FDC12F.1080005@codespunk.com> <59FDDCFA.9030306@codespunk.com> <87shdudp76.fsf@Rainer.invalid> <59FDF5BE.7060600@gmail.com> <87h8u9ew9n.fsf@Rainer.invalid>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <02939a2a-8dee-6c79-fd80-24c9b9073e52@SystematicSw.ab.ca>
Date: Sat, 4 Nov 2017 15:20:30 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <87h8u9ew9n.fsf@Rainer.invalid>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfEYq1QHi+YPBUPERPf/180WRmmJakMdofEs0Tr0C/BlENNI2/rJ0wRAs+Vw/bgObsTUZsvp7NHFyRzXK+OTx9a5modywqFKOAZfc0KpBOKNHOEEiTB1Y W3lXPsq23gSdaER4kF2cUQ4yz/bXVjBun0g/YxEqiVPJyyiXEUkpX8cc+aHKNdiG/+Ado6Ekyu8BUA==
X-IsSubscribed: yes

On 2017-11-04 12:25, Achim Gratz wrote:
> Matt D. writes:
>> It's not perfect but I've always had trouble with all of the
>> modifications Cygwin makes to a file's permissions to support
>> POSIX-style ACLs. I do miss being able to manage them with chmod and
>> setfacl though.
> 
> Just remove any ACL inheritance on the home directory before populating
> it (or recursively remove it for an existing directory, but that can be
> more tricky).  I suggest to use a sub-directory of your actual Windows
> home, otherwise you might get into trouble with applications writing dot
> files into it and/or getting confused by the dot files from Cygwin.
> It's easy enough to mount it to /home/$USER so it's where you'd normally
> expect it to show up.

If you remove the DACLs on directories, you will be unable to access any files
without using Cygwin, as Windows sees no permissions, and any files created by
Windows programs will have no Cygwin permissions, and you will be unable to
access those files from Cygwin or Windows programs, without doing manual Windows
security fixups.
I've hit some directories with setfacl -bk, and quickly regretted it.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

