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.