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: Exclude System entries with "ls" or "find"


Greetings, Corinna Vinschen!

> On Dec 19 08:29, Eliot Moss wrote:
>> On 12/19/2018 7:10 AM, Andrey Repin wrote:
>> > Greetings, Corinna Vinschen!
>> > 
>> > > Bottom line is, if you want to handle DOS attributes in a special way
>> > > not covered by our POSIX emulation, user space has to do it.
>> > 
>> > Can something be implemented around getfattr to serve this use case in a more
>> > POSIX'y way?
>> 
>> I was not previously much aware of get/setfattr, but I agree that that looks
>> like a possible way to provide access to the Windows SYS attribute and friends.
>> Not that I am that familiar with details of what NTFS, etc., provide, getfattr
>> may be a way to provide access to additional attributes / facts about files
>> (paths, generally) as well.  Sounds like it would not be too hard to support
>> access to the basic attributes this way.
>> 
>> I suspect the general response will be PTC, though!  :-)

> Not only that.  attr is an upstream package, so you would have to 
> convince the upstream maintainers to take your patches, ideally.

> attr is for handling of extended attributes, quite different from
> DOS attributes.  I doubt that DOS attribs fit in there.

Well, well. We do have a living example of Samba (ab)using xattr to support
Windows ACL on *NIX.
I deduce from your response, that a DOS attributes use case would be on
different side of the table, though.


-- 
With best regards,
Andrey Repin
Wednesday, December 19, 2018 17:41:17

Sorry for my terrible english...


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