public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ls shows different permissions for the same file
Date: Thu, 13 Sep 2012 23:57:00 -0000	[thread overview]
Message-ID: <50525827.4030308@cygwin.com> (raw)
In-Reply-To: <AB5C244567184949B9C73F32BBC4703704DD84BA@BL2PRD0410MB373.namprd04.prod.outlook.com>

On 9/13/2012 8:40 AM, Boemker, Tim wrote:
> On 9/12/2012 8:03 PM, Larry Hall wrote:
>
>> No because with Windows paths Cygwin doesn't look at Windows ACLs.  It
>> just reports a default set of ugo permissions.
>
> Where does it get the default set of ugo permissions?

Like I said before, they are hard-coded.  It will look at the read attribute
to decide whether or not to show write permissions for the file owner.  But
that's the extent of a glimpse into the real world, if you can call the
read attribute the "real world".

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

  reply	other threads:[~2012-09-13 22:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 19:05 Boemker, Tim
2012-09-13  0:41 ` Larry Hall (Cygwin)
2012-09-13 14:30   ` Boemker, Tim
2012-09-13 23:57     ` Larry Hall (Cygwin) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-12 12:47 Boemker, Tim
2012-09-12 17:40 ` Larry Hall (Cygwin)

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=50525827.4030308@cygwin.com \
    --to=reply-to-list-only-lh@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).