chickadee » chicken » file » posix » set-file-permissions!

set-file-permissions! FILE MODEprocedure
set! (file-permissions FILE) MODEprocedure

Changes the current permission bits for FILE to MODE using the chmod() system call. The perm/... variables contain the various permission bits and can be combinded with the bitwise-ior procedure. FILE may be a filename, a file-descriptor or a port object, MODE should be a fixnum.