Skip to content

Commit

Permalink
Don't make pkgimages global editable (#51781)
Browse files Browse the repository at this point in the history
(cherry picked from commit 37611b4)
  • Loading branch information
gbaraldi authored and KristofferC committed Oct 23, 2023
1 parent bd99491 commit d2a66d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2402,7 +2402,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 | 0o333)
chmod(tmppath_so, filemode(path) & 0o777 | 0o331)
end

# prune the directory with cache files
Expand Down

0 comments on commit d2a66d8

Please sign in to comment.