file-is-readable?

[procedure] file-is-readable? pathname

[procedure] file-is-writable? pathname

[procedure] file-is-executable? pathname

STk, STklos, Gauche: check accessibility of file by the current effective user. See also Concept:FileSystem.

Chicken has file-read-access? etc. Scsh calls these file-readable? etc.

Gauche also has sys-access which is an interface to POSIX access().