aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-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