chickadee » chicken » process-context » posix » set-root-directory!

set-root-directory! STRINGprocedure

Sets the root directory for the current process to the path given in STRING (using the chroot function). If the current process has no root permissions, the operation will fail.

NOTE: On native Windows builds (all except cygwin), this procedure is unimplemented and will raise an error.