Public bug reported:

On my dapper system (findutils 4.2.27-1ubuntu1), the `find` program does
not give me accurate results.

In my ~/test directory, I have one .txt file and one .asp file. In a
subdirectory called includes, I have another .txt file and another .asp
file. However, `ls` and `find` do not agree.

Where the files are:

  [EMAIL PROTECTED]:~/test$ ls *.txt
  test.txt

  [EMAIL PROTECTED]:~/test$ ls includes/*.txt
  includes/test.txt

  [EMAIL PROTECTED]:~/test$ ls *.asp 
  default.asp

  [EMAIL PROTECTED]:~/test$ ls includes/*.asp
  includes/subscribe_inc.asp

The first problem is that running find from the root of the folder tree
does not return "includes/subscribe_inc.asp" as expected.

  [EMAIL PROTECTED]:~/test$ find . -name *.asp
  ./default.asp

Howeer, the .txt files are reported as expected:

  [EMAIL PROTECTED]:~/test$ find . -name *.txt
  ./test.txt
  ./includes/test.txt

If I try to find the asp files from the from the parent directory
however, it is correct.

  [EMAIL PROTECTED]:~$ find test -name *.asp
  test/includes/subscribe_inc.asp
  test/default.asp

All files are owned by andy - modes on all dirs 755, all files 644.

Cheers

** Affects: findutils (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
find -name does not work as expected
https://bugs.launchpad.net/bugs/115169
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to