[ANNOUNCEMENT] attr 2.4.48-2

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Tue Jan 8 15:36:00 GMT 2019


On 2019-01-08 04:29, Corinna Vinschen wrote:
> On Dec 20 23:22, Corinna Vinschen wrote:
>> On Dec 20 09:03, Brian Inglis wrote:
>>> On 2018-12-20 03:04, Corinna Vinschen wrote:
>>>> The following packages have been uploaded to the Cygwin distribution:
>>>> * attr-2.4.48-2
>>>> * libattr-devel-2.4.48-2
>>>> * libattr1-2.4.48-2
>>> Does this release support listing Windows Alternate Data Streams, as the Linux
>>> release does with Tuxera NTFS-3G?
>> libattr only supports reading and writing EAs, it has no capabilities to
>> read or write ADS.  Ntfs-3g supports the streams_interface=windows
>> option which allows to read ADS.  This also adds the ntfs.streams.list
>> EA to a file with named ADS.  So attr/getfattr can only inspect the
>> ntfs.streams.list EA because the NTFS-3G driver creates them on the fly
>> when inspecting the file EAs.
>> tl;dr: No, sorry.  This could only work if Cygwin fakes the
>> ntfs.streams.list EA per file just like the NTFS-3G driver.
>> Patches welcome.  Looks like a nice little project if you want to get
>> your hands dirty.  The functions to handle EAs are pretty
>> self-sufficiently implemented in ntea.cc.  A little loop about
>> NtQueryInformationFile(FileStreamInformation) should do it.
> Would that be something you'd like to work on, Brian?

Not anything I really knew or cared about, except as a potential attack vector
or Windows curiosity.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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



More information about the Cygwin mailing list