bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22352] Find does not work in a root disk


From: Eric Blake
Subject: [bug #22352] Find does not work in a root disk
Date: Mon, 18 Feb 2008 12:52:53 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Mnenhy/0.7.5.666

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

[Prev in Thread] Current Thread [Next in Thread]