Skip to content

Commit

Permalink
Change permissions of stdlib pkgimgs (#48019)
Browse files Browse the repository at this point in the history
* Change permissions of pkgimgs

* Update base/loading.jl

Co-authored-by: Elliot Saba <[email protected]>

Co-authored-by: Elliot Saba <[email protected]>
(cherry picked from commit 58d9c87)
  • Loading branch information
gbaraldi authored and KristofferC committed Dec 28, 2022
1 parent 8089822 commit 6ae7827
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 @@ -2078,7 +2078,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 | 0o300)
chmod(tmppath_so, filemode(path) & 0o777 | 0o333)
end

# prune the directory with cache files
Expand Down

0 comments on commit 6ae7827

Please sign in to comment.