Skip to content

Commit

Permalink
Force chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Feb 8, 2024
1 parent 89d710d commit 88c8343
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions librarian_server/stores/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ def stage(self, file_size: int, file_name: Path) -> tuple[Path]:

# Create the empty directory.
resolved_path = self._resolved_path_staging(stage_path)

if self.group_write_after_stage:
resolved_path.mkdir(mode=0o775)
os.chmod(resolved_path, 0o775)
else:
resolved_path.mkdir()

Expand Down

0 comments on commit 88c8343

Please sign in to comment.