exposed parseacl as part of _G
This commit is contained in:
parent
83ed6019cd
commit
d6b9b1db3a
@ -16,6 +16,7 @@ do
|
|||||||
end
|
end
|
||||||
return tacl
|
return tacl
|
||||||
end
|
end
|
||||||
|
fs.parseacl = parseacl
|
||||||
local function getattr(fn,k)
|
local function getattr(fn,k)
|
||||||
if os.getuid() ~= "superuser" then
|
if os.getuid() ~= "superuser" then
|
||||||
if not parseacl(fsattr[fn].read or "")[os.getuid()] then return false end
|
if not parseacl(fsattr[fn].read or "")[os.getuid()] then return false end
|
||||||
|
Loading…
Reference in New Issue
Block a user