From 5fcc09e03ca83d4832c8d2d3622e7a468a01efb9 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Fri, 15 Sep 2017 16:04:19 +1000 Subject: [PATCH] exposed parseacl as part of _G --- modules/lib/fs.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lib/fs.lua b/modules/lib/fs.lua index 4d0408d..385bacf 100644 --- a/modules/lib/fs.lua +++ b/modules/lib/fs.lua @@ -16,6 +16,7 @@ do end return tacl end + fs.parseacl = parseacl local function getattr(fn,k) if os.getuid() ~= "superuser" then if not parseacl(fsattr[fn].read or "")[os.getuid()] then return false end