VariablePackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

*strict-probe-file*

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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version