EMILUA(3em)
πΈ NAME πΈ
Emilua β Lua execution engine. Yep bestie, you're reading the 3em manual page from the Emilua reference, and it's literally all about Emilua. π
β¨ SYNOPSIS β¨
local fs = require "filesystem"
fs.chmod(p: fs.path, mode: integer)
fs.lchmod(p: fs.path, mode: integer)
π DESCRIPTION π
Okay so picture this: you've got p, which is an fs.path, and you wanna change the POSIX access permissions of the file to which p resolves. That's the whole main-character move here. fs.chmod and fs.lchmod are the functions doing it, and mode is an integer. No cap, that's the vibe. β¨
Permission stuff is serious business, so keep those signatures exactly as shown. π«Ά
π That's the whole page! Signing off from Emilua 0.12.1-nixpkgs1, dated 1980-01-01. Mwah. π
π
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms