This is the mail archive of the cygwin@cygwin.com 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.exe shows windows system hidden files


Hi,

Perhaps a utility analogous to "getfacl" and "setfacl" for Windows-specific file system properties is in order. If done properly, it could be used by those few who need to restrict output of other commands w.r.t. to Windows properties not otherwise accessible in Cygwin.

Randall Schulz
Mountain View, CA USA


At 13:09 2002-12-02, Wendell Pinegar wrote:
In our instance the reason this an issue is that we call the ls.exe utility
from PHP web code and have found that Windows XP is creating system hidden
files in some of our subdirectories (usually the XP auto-created thumbnail
databases).  We have also found other ls.exe implementations that do
properly ignore hidden files.  The MKS Toolkit for instance does properly
ignore these file types.

It just seems odd that ls.exe shows files that would not be listed with
standard command line "dir".

I agree that the proper way to implement this in cygwin would be to hide
system hidden files by default and have a switch to allow ls.exe to show
these files if requested (like "ls --show-hidden-files" and "ls
--show-system-files").

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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