filesystem.chroot

Synopsis

local fs = require "filesystem"
fs.chroot(p: fs.path)

Description

Set the root directory for the calling process.

Only the master VM is allowed to change the root directory.