Skip to content

Commit

Permalink
Don't make pkgimages global editable (#51781)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaraldi authored Oct 23, 2023
1 parent 0b54306 commit 37611b4
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 @@ -2497,7 +2497,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 37611b4

Please sign in to comment.