exposed parseacl as part of _G

This commit is contained in:
Izaya 2017-09-15 16:04:19 +10:00
parent 67356aa589
commit 5fcc09e03c
1 changed files with 1 additions and 0 deletions

View File

@ -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