Skip to content

Commit

Permalink
Merge branch 'release_24.0' into release_24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jun 7, 2024
2 parents 5339fab + 62eadc8 commit 0fb77c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tool_shed/util/repository_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ def create_repository(
dir=app.config.file_path,
prefix=f"{repository.user.username}-{repository.name}",
)
# Created directory is readable, writable, and searchable only by the creating user ID,
# but we need to make it world-readable so non-shed user can serve files (e.g. hgweb run as different user).
os.chmod(repository_path, util.RWXR_XR_X)
# Create the local repository.
init_repository(repo_path=repository_path)
# Create a .hg/hgrc file for the local repository.
Expand Down

0 comments on commit 0fb77c8

Please sign in to comment.