Skip to content

Commit 91c3321

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 9fe9346 commit 91c3321

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
@@ -2231,12 +2231,6 @@ function compilecache(pkg::PkgId, path::String, internal_stderr::IO = stderr, in
22312231

22322232
# inherit permission from the source file (and make them writable)
22332233
chmod(tmppath, filemode(path) & 0o777 | 0o200)
2234-
if cache_objects
2235-
# Ensure that the user can execute the `.so` we're generating
2236-
# Note that on windows, `filemode(path)` typically returns `0o666`, so this
2237-
# addition of the execute bit for the user is doubly needed.
2238-
chmod(tmppath_so, filemode(path) & 0o777 | 0o331)
2239-
end
22402234

22412235
# prune the directory with cache files
22422236
if pkg.uuid !== nothing

0 commit comments

Comments
 (0)