For the latest stable version, please use Emilua API 0.10!

filesystem.chmod

Synopsis

local fs = require "filesystem"
fs.chmod(p: fs.path, mode: integer)
fs.lchmod(p: fs.path, mode: integer)

Description

Changes POSIX access permissions of the file to which p resolves.