Skip to content

Commit 4770eea

Browse files
KristofferCKristofferC
authored andcommitted
remove chmodding the pkgimages (#51885)
This shouldn't be needed because `ldd` should do it itself. (cherry picked from commit 5b34cdf)
1 parent 0edde83 commit 4770eea

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

base/loading.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,12 +2398,6 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
23982398

23992399
# inherit permission from the source file (and make them writable)
24002400
chmod(tmppath, filemode(path) & 0o777 | 0o200)
2401-
if cache_objects
2402-
# Ensure that the user can execute the `.so` we're generating
2403-
# Note that on windows, `filemode(path)` typically returns `0o666`, so this
2404-
# addition of the execute bit for the user is doubly needed.
2405-
chmod(tmppath_so, filemode(path) & 0o777 | 0o331)
2406-
end
24072401

24082402
# prune the directory with cache files
24092403
if pkg.uuid !== nothing

0 commit comments

Comments
 (0)