diff options
-rw-r--r-- | src/luarocks/fs/win32/tools.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua index 744ba2d1..69512c9e 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua | |||
@@ -278,7 +278,7 @@ function tools.set_permissions(filename, mode, scope) | |||
278 | 278 | ||
279 | local ok | 279 | local ok |
280 | -- Grant permissions available to all users | 280 | -- Grant permissions available to all users |
281 | ok = fs.execute_quiet(fs.Q(vars.ICACLS) .. " " .. fs.Q(filename) .. " /inheritance:d /grant:r Everyone:" .. others_perms) | 281 | ok = fs.execute_quiet(fs.Q(vars.ICACLS) .. " " .. fs.Q(filename) .. " /inheritance:d /grant:r *S-1-1-0:" .. others_perms) |
282 | if not ok then | 282 | if not ok then |
283 | return false, "Failed setting permission " .. mode .. " for " .. scope | 283 | return false, "Failed setting permission " .. mode .. " for " .. scope |
284 | end | 284 | end |