file-permissions

[procedure] file-permissions pathname

Chicken: returns permission bits. See perm/irusr etc. See also Concept:FileSystem, file-read-access?, file-write-access?, file-execute-access?.

Other implementations have file-mode.