| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
When given a pathname in a directory that is not readable by the user
running the Lisp process (because, for example, the user does not have
read permission in that directory), probe-file should signal an error. (The ANS says
"An error of type file-error is signaled if the file system cannot
perform the requested operation.") However, Allegro CL (in common with
other implementations of Common Lisp) has returned nil
rather than signaling an error. Therefore, there
is no programmatic way to distinguish between a file not existing and
a file possibly existing, but in a directory that cannot be read by
the user running Lisp.
This variable, *strict-probe-file*
, controls the behavior of
probe-file in this case. When
nil
(its initial value), probe-file returns nil
when the argument path designates a file in an unreadable directory,
preserving the behavior of earlier releases. When *strict-probe-file*
is
non-nil
, probe-file signals an error in that case. (It
also reports on what the access problems are.)
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |