delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/22/08:05:21

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=lP4WS8+lOy6BjzTc
B7wrHvWaMh59hOIvBivLTjuvMD7sLn4YC53EyhJQSqBv//MwMX7tYIHB7dYJIHoj
womJm1ea3QdJ+sqvqNsGEdqqFBRUP6fgxowbAZbRy64p3San9v8HylSDdnjU4ajr
00xOSNZc7TnGg8xEZ/BP6eyLUbU=
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=Eot+DUYWSz+xrCS9l1iB/O
odAek=; b=PZuurLqCMflTRHuAy0TmsY8pEHuPYHNi84L+s5SUpenpWXUBY8A0Rd
Wxo9yTy/XoUHgm4epQWVEtcQ4irMbEE0RIJLdtEnPihDb3PWDO0XNYCun8VQBVjW
BrPxH0utnuto2ML4UWj5Vk5gOPsfAN3od8+cvmUcin2gDDIOrYbBY=
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.2 spammy=H*r:build, HX-Priority:Normal, terrible, judge
X-HELO: forward102j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1540209902; bh=ABIURv3UbOnRoIAe1EooVNi2jgmeLneeKnidYkgtpM0=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Zclsy4bO/gE4Z3E7+tr8bFq2JnNpsH7AFXm+MwgTvOcr7lzsk0zRwkm3DOORtNWw3 IVPr7k4AFA9CqJ5bQuMIn+NZCRTk/diGB4qjQUB+QvHyPCRJg0N7QzVq8YWuTU4YDu UMp3q/Lr/Hr0JMqctuivjL+WP2dXDNcij0/0Igl8=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1540209901; bh=ABIURv3UbOnRoIAe1EooVNi2jgmeLneeKnidYkgtpM0=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=jk/2kRiIywY/0TftLl9Rp/Xb3nugqXWbytv3FVvlY1f12STqYE6F/Wz+YrVHEWDqQ bBYnuixrJOe+4H0IZHvFgZ0NDyAZW6K3EHXLKB0CkZ/Rcngf5wQlY0WB+Lo5Ps0kxI rr9XBFvUxOKrNIe/xRPrOVk14DDODnCMhsHESR58=
Authentication-Results: smtp4p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 22 Oct 2018 15:02:45 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <174350011.20181022150245@yandex.ru>
To: Michael Enright <mike AT kmcardiff DOT com>, cygwin AT cygwin DOT com
Subject: Re: Multiple problems (probably) starting up new installation
In-Reply-To: <CAOC2fq8U3u46d+oa1C4BO+rtG+0aEWCq0ZREAE_7S3XWFKe+gw@mail.gmail.com>
References: <CAOC2fq_WRuenwF+KqVYH=NM=QS_EA-XW3hri+edSzXAxC+F-6g AT mail DOT gmail DOT com> <164597258 DOT 20181022013753 AT yandex DOT ru> <CAOC2fq8U3u46d+oa1C4BO+rtG+0aEWCq0ZREAE_7S3XWFKe+gw AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Michael Enright!

>>
>> > ----rwx---+ 1 menright Mike Enright     0 Oct 21 15:02 CMakeLists.txt
>>
>> the "+" says that there's extended ACL present. So, nothing odd.
>>

> The Windows view of this set of permissions (070 plus whatever is in
> the rest of the ACL)

This is NOT "windows" view, this is Cygwin view.
For ACL, check getfacl <file>.

> seems to be that Windows programs can't do very
> much with this file.

See my previous note about setting noacl flag to increase interoperability
with native programs.

> So it's odd from that POV and I wonder if that was caused by my renaming the
> "Cygwin account".

I'm not clear on how exactly renaming was done, so can't comment.

> Using cacls I see the
> Windows username in some of the entries and I don't see the cygwin
> username in any. I know that I can get a workable ACL with chmod but I
> can see that executables built by the compiler are not executable,
> either by name from cygwin bash or by double click from Windows
> Explorer. This is the first few lines from cacls:
> $ cacls moneymaker
> C:\cygwin64\home\menright\moneymaker NULL SID:(DENY)(special access:)
>                                               READ_CONTROL
>                                               FILE_READ_EA
>                                               FILE_WRITE_EA
>                                               FILE_EXECUTE
>                                               FILE_DELETE_CHILD

This is normal (documented) behavior for less-than-trivial permission setups.
However, without a full dump of cacls it's hard to judge correctness of the
ACL on a given file.


-- 
With best regards,
Andrey Repin
Monday, October 22, 2018 14:58:59

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