From 6ae78270304ad951a67508f969432ab4e2ce1c17 Mon Sep 17 00:00:00 2001 From: Gabriel Baraldi Date: Wed, 28 Dec 2022 14:52:46 -0300 Subject: [PATCH] Change permissions of stdlib pkgimgs (#48019) * Change permissions of pkgimgs * Update base/loading.jl Co-authored-by: Elliot Saba Co-authored-by: Elliot Saba (cherry picked from commit 58d9c87fc5274f4b5227a8ae4309db6ed0ba8eba) --- base/loading.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index e92c0b864d156..5d27a01b236e9 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -2078,7 +2078,7 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in # Ensure that the user can execute the `.so` we're generating # Note that on windows, `filemode(path)` typically returns `0o666`, so this # addition of the execute bit for the user is doubly needed. - chmod(tmppath_so, filemode(path) & 0o777 | 0o300) + chmod(tmppath_so, filemode(path) & 0o777 | 0o333) end # prune the directory with cache files