listing ADS streams

Reini Urban rurban@x-ray.at
Sun Nov 7 19:52:00 GMT 2004


mkdir temp; cd temp
touch myfile.txt
echo "This is hidden ADS" > myfile.txt:hidden.txt
ls -al
=> myfile.txt

cat myfile.txt:hidden.txt
=> This is hidden ADS

Should ls -al or readdir() display such hidden files?
Or should we provide/use seperate tools (such as lsattr for ext2)
to manipulate such NTFS specific properties?

* http://support.microsoft.com/default.aspx?kbid=105763
* http://patriot.net/~carvdawg/docs/dark_side.html
* http://www.heysoft.de/nt/ep-lads.htm
* http://www.sysinternals.com/ntw2k/source/misc.shtml#streams
* http://www.heise.de/security/artikel/52139/1
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list