delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/13/18:20:58

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=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 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-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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1957538740.20141114021443@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT 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 AT etr-usa DOT com> <CABa6CEkRV=3FY6ZVGrdt--rH3PppwCJRD5poU0L2knv2k2ce_w AT mail DOT gmail DOT com> <25F385A9-3E2D-44FC-998F-D2672F67DFE4 AT etr-usa DOT com> <m40npq$vrq$1 AT ger DOT gmane DOT org> <ECD073FF-B78C-4D19-8DE1-5F4E390D2495 AT etr-usa DOT com> <20141113093335 DOT GI2782 AT calimero DOT vinschen DOT de> <40005E53-A327-4E4A-8C71-514E505F9FBC AT etr-usa DOT com> <20141113213005 DOT GV2782 AT calimero DOT vinschen DOT de> <20141113220905 DOT GW2782 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes
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 AT yandex DOT ru) 14.11.2014, <02:13>

Sorry for my terrible english...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019