From 5b34cdfa705df21997a8b97f6642c18de3a6d0e1 Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Tue, 31 Oct 2023 12:19:12 +0100 Subject: [PATCH] remove chmodding the pkgimages (#51885) This shouldn't be needed because `ldd` should do it itself. --- base/loading.jl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/base/loading.jl b/base/loading.jl index 40bf4092ee8f1..cd69c8c445b2a 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -2493,12 +2493,6 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in # inherit permission from the source file (and make them writable) chmod(tmppath, filemode(path) & 0o777 | 0o200) - if cache_objects - # 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 | 0o331) - end # prune the directory with cache files if pkg.uuid !== nothing