From ba7ffadd3cb4bd3a0aaa9fc1b9e33e3702eb57df Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sat, 3 Dec 2022 16:24:27 -0500 Subject: Screwed up mode octal permissions. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index eefd609..a9db970 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -393,7 +393,7 @@ function common.rmrf(root) local status, err = os.remove(root) if not status then if not err:find("denied") then error("can't remove " .. root .. ": " .. err) end - system.chmod(root, 844) -- chmod so that we can write, for windows. + system.chmod(root, 448) -- chmod so that we can write, for windows. status, err = os.remove(root) if not status then error("can't remove " .. root .. ": " .. err) end end -- cgit v1.2.3