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 <staticfloat@gmail.com>

Co-authored-by: Elliot Saba <staticfloat@gmail.com>
  • Loading branch information
gbaraldi and staticfloat committed Dec 28, 2022
1 parent 82fbf54 commit 58d9c87
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 @@ -2084,7 +2084,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 58d9c87

Please sign in to comment.