On Thu, Mar 15, 2012 at 11:46 AM, Dima Pasechnik <dimpase+ecl@gmail.com> wrote:
Below I cut the relevant part, which appears to demonstrate a problem in calls like (directory '/A/B/C/*')  which boils down to the fact that is the top part (say '/A/B/') of the path contains an unreadable to the user directory, then the (directory '/A/B/C/*') returns NIL,
even though it's perfectly readable to the user (tested on 11.1.1 and on 12.**, too)

Fixed in local (see below). Will upload a patch later on.

$ ecl -norc
ECL (Embeddable Common-Lisp) 12.2.1 (git:f074dd441f7500f9fd96607443e27d6b6afe04c9)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #<process TOP-LEVEL>.
> (directory "~/foo/faa/*.*")

$ ls ~/foo
ls: foo: Permission denied

Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)