public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Inconsistent results from ls
Date: Wed, 12 Jan 2022 10:13:28 +0100	[thread overview]
Message-ID: <Yd6buFEsEH2G3Z3d@calimero.vinschen.de> (raw)
In-Reply-To: <202201120231.20C2Vri5018499@d.mail.sonic.net>

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

      reply	other threads:[~2022-01-12  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12  2:30 David
2022-01-12  9:13 ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yd6buFEsEH2G3Z3d@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).