aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-12-03 16:24:27 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-12-03 16:24:27 -0500
commitba7ffadd3cb4bd3a0aaa9fc1b9e33e3702eb57df (patch)
treeb3bb3d3ff0242cd9dd1ad0803fbdd6f1e84ce378
parent14364d9f4cf60bdf6e057483ce6e05e3f100ac02 (diff)
downloadlite-xl-plugin-manager-ba7ffadd3cb4bd3a0aaa9fc1b9e33e3702eb57df.tar.gz
lite-xl-plugin-manager-ba7ffadd3cb4bd3a0aaa9fc1b9e33e3702eb57df.zip
Screwed up mode octal permissions.v0.2
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
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