Update of bug #22352 (project findutils):

              Item Group:     Compilation Failure => Wrong result           
                  Status:                    None => Invalid                
             Assigned to:                    None => ericb                  
             Open/Closed:                    Open => Closed                 
                 Summary: Find does not work in a rood disk => Find does not
work in a root disk

    _______________________________________________________

Follow-up Comment #2:

This is not a bug in find, but a limitation of cygwin and your current
permissions for the root drive; the cygwin list archives already detail
several people who have dealt with poor root drive permissions.  Also, you
mention 4.2.32, which implies you built findutils yourself; while cygwin
currently ships with find 4.3.13 prebuilt and with any necessary
cygwin-specific patches folded in as part of the official cygwin distribution
- I highly recommend using the cygwin port of findutils rather than rolling
your own.  One of the differences here is that 4.3.x uses fts() rather than a
home-grown traversal algorithm, which may perform better given poor
permissions on the root drive.  At any rate, if this is still a problem for
you, you should contact <cygwin AT cygwin DOT com>, since it is not an
upstream bug.

One last point - you mentioned using:
find $PWD -name "*.bat" 

That is quoted incorrectly.  You should get in the habit of using one of the
following equivalent actions (the first two are required by POSIX, the last is
a GNU extension):
find "$PWD" -name "*.bat"
find . -name "*.bat"
find -name "*.bat"


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22352>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to