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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=SLThWLv5fHF5/E0E
	UzVlw1rkoKpzzq+2vCZ26GQN0s9mlWcpnQLsOS/QPqj1y7Phy0aQQHJ9wTBimrSF
	BIT7264VQK0rrQczedVY0A0GAsYAxrwO/ziD9OkEcLRFZS5pTnGEfJ/sn73fBQ9T
	EhF6fNLxXhY931AIHSmcRtCUY0Y=
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=ztWUki5fJVl/a8RGkxUXkG
	+T9AQ=; b=yzWrNvK7SFNT487YbHtiwVXaDn1EcgIzIidPnDMifTgxttT40jxwF7
	ie08ef3souLAay6GpmUzbbsUp5uMy1jFyquPJrtqoyRxOjaM5zW7cP6TP1WX5D6v
	plpaQ64jT7xVRqabEz3gX91fBFkgHZpSuAZQlJoCe3QxrYEY1H+Ac=
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=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 14 Nov 2014 02:14:43 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1957538740.20141114021443@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: /usr/local, /var and */tmp in c:\Users\Public
In-Reply-To: <20141113220905.GW2782@calimero.vinschen.de>
References: <81578012-FD3F-4463-BC56-ADB092317DD4@etr-usa.com>   <CABa6CEkRV=3FY6ZVGrdt--rH3PppwCJRD5poU0L2knv2k2ce_w@mail.gmail.com>  <25F385A9-3E2D-44FC-998F-D2672F67DFE4@etr-usa.com> <m40npq$vrq$1@ger.gmane.org>  <ECD073FF-B78C-4D19-8DE1-5F4E390D2495@etr-usa.com>  <20141113093335.GI2782@calimero.vinschen.de>  <40005E53-A327-4E4A-8C71-514E505F9FBC@etr-usa.com>  <20141113213005.GV2782@calimero.vinschen.de>  <20141113220905.GW2782@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id sADNKsZf027952

Greetings, Corinna Vinschen!

>> > Just to pick a random example:
>> > 
>> > $ ls -l /bin/ls.exe
>> > -rwxrwxr-x 1 Warren None 116253 Oct 13 10:12 /bin/ls.exe
>> > 
>> > The same file’s permissions, from Windows’ perspective:
>> > 
>> > http://etr-usa.com/cygwin/ls-perms.png
>> 
>> icacls output would be more helpful than a picture.
>> 
>> However, this isn't really a problem.  The group permissions are
>> apparently faked by Cygwin, they don't reflect the reality.  I just
>> don't remember why this is done, it's probably old.  Have to check...

> Btw., I never saw this happen.  Did you install for "just you", or
> in a non-elevated Setup?  In my case the permissions make at least
> sense, even if my own account still has full access:

>   $ ls -l /bin/ls.exe
>   -rwxr-xr-x 1 corinna vinschen 116253 Oct 13 18:12 /bin/ls.exe

Curious. Same for me.
Win7/64 with 64-bit Cygwin default (elevated) install.


$ LANG=C ls -l /bin/ls
-rwxr-xr-x 1 anrdaemon None 116253 Oct 13 19:12 /bin/ls

$ LANG=C ls -l /bin/ls.exe
-rwxr-xr-x 1 anrdaemon None 116253 Oct 13 19:12 /bin/ls.exe


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 14.11.2014, <02:13>

Sorry for my terrible english...

