This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls shows different permissions for the same file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]