delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/12/04:15:17

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 645D8393A413
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1641978916;
bh=gZmErDUV4LjK2hYX0yVncBBFOX15yOoJH7YlD51Z5A0=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:From;
b=yYW2HhjPfifZVaNHLSH7j81fWhR51F6//+4Ye5fTJnWLu8qgJiXAjSrCwP8vBXczZ
gDP8tqfg+SmzuvCS9i2rEmEwdzp2q49C9J0yzBi/eJJVx+CMNN53MKFQJIYBRmVn2P
KS1GYSq5CVN+n45SMapy2cibwPXDNwsqdub2ICvg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9E673393A418
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com
Date: Wed, 12 Jan 2022 10:13:28 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Inconsistent results from ls
Message-ID: <Yd6buFEsEH2G3Z3d@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <202201120231 DOT 20C2Vri5018499 AT d DOT mail DOT sonic DOT net>
MIME-Version: 1.0
In-Reply-To: <202201120231.20C2Vri5018499@d.mail.sonic.net>
X-Provags-ID: V03:K1:e4PYZY1CHUX80nTnWGnYu88JeVrLjz8ZIBobEn8ziVD7nKFVXms
VBYLcr3iyXa6RoKpbIJWVA7e+PLeWiMsQhXIJObD/9MG/ryrlWtbet9Wq4AaPW+6SH4iWUq
GBgPgq4nwzETnpyq+dKzNeV8uLk7sJ40u8ruKRMgJdWp/1GZW2o1twRgPULG+7Li6r1oX97
6PI65i5DaoPoTFr2RBa0w==
X-UI-Out-Filterresults: notjunk:1;V03:K0:K3SO+/goYx0=:WVsdDnB93OfIrgia7pbgEW
iZDB1QmoTyQqTvieUzi0EdpNRE6rCimvFbDbR/pzRIZFkLi39o4/Y0gMuKa2UApPFH0mhWz2W
DqmRUPaxsy19XtSPWEFD/UxyLG8fXiyfmslVKa+tGZXS7z6h9749Hw3Z+eBmqN0/KQRRwSW3W
qau5rwremhpH+vIHIH8fc7LVBn/mRe27bKK5nCcPPBNWBxzql4lOU2yeZd7QX2/07wO0+AU8S
3ihaw9qU13UOr5ZzlMEtgDKCytAQNuh2vi8NKLncsda93oHzjUsz/rE0obgmJAI9xGiMlSQjz
crjPP7lNQ7hv7h/a/PfM04RzWX+HWG507EuADluTfawGwG6Vhjepa78Ctc9RdDR9YVfYB6HjZ
Fkm3pYORosnCAdnQOVkhR1U1f8X+8znib3VYZRs2zecDUWTbwVMHS9Z5JoPvoT1gtS0vStwL0
gPrcu0eanAMn5ZauOltsOpXwAk2qW5TgEyNd/RWRNqo2UlM1oM5n61soGDqkm1ZOy0hofnf/X
CMXRyHgjIxTG89++M3B0uPj5fkPZM9ht6zYknJxiXHCOk6HKS8PkJVAdcO7jmHxZx6AbGdT2E
jIYvV74rkMuxveIrExDWOgL3gxr/pvm5cFyTA/8CcovErK0JUMbQ1q0YzH8clKFMONrip0kgp
+9WPev95mPZVnsSfV/VLAyKXxqyhOsSg1Fb5ELOlxYsYAg7H+pS1yMf+vwywsioAcOjoFuaQG
JYPkW/tWE2fX6h08
X-Spam-Status: No, score=-92.4 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2,
SPF_FAIL, SPF_HELO_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Jan 11 18:30, David wrote:
> Folks
> 
> I tried executing 'ls -l' on a file. I addressed the file in various ways,
> with my current directory (in Windows) set to c:\temp
> 
> ls -l test.txt
> ls -l /cygdrive/c/temp/test.txt
> ls -l
> ls -l *
> ls -l c:/temp/test.txt
> 
> 
> In all cases, the owner, group, date and size are the same, as I would hope
> them to be.  However, the last result showed a mode setting displayed was
> different than the value shown in the others.  This doesn't seem right, and
> I'm not sure what the correct value should be.  Any ideas?

As soon as you use Windows path syntax, file ACLs are ignored
and permissions are just faked.


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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