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

Bug#137880: marked as done (libc6: ftw doesn't pass FTW_DNR if initial directory is non-enterable)

Your message dated Tue, 10 Apr 2007 22:57:31 +0200
with message-id <20070410205731.GA25057@.madism.org>
and subject line Bug#137880: argh
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc6
Version: 2.2.5-3
Severity: normal

If ftw() or nftw() is run on a directory that the invoking user can't
read (such as a mode 0100 directory), it immediatly returns -1 without
calling the callback function. The man page seems to indicate that it
would call the function once with FTW_DNR. This is what it does if the
non-readable directory is somewhere underneath the directory it is run

The LSB test suite doesn't like this, but I'm not sure if it violates
any X/Open, since I don't have a copy of that standard.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux silk 2.4.18 #1 Tue Feb 26 00:23:37 EST 2002 i686

--- End Message ---
--- Begin Message ---
Version: 2.5

  I just tested, this works now with experimental glibc at least.
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

--- End Message ---

Reply to: