Skip to content

Commit

Permalink
550 permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Feb 19, 2025
1 parent 4e65a54 commit 31bdee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librarian_server/stores/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def remove_readonly(func, path, _):
Clear the readonly bit and reattempt the removal, see
https://docs.python.org/3/library/shutil.html#rmtree-example
"""
os.chmod(path, stat.S_IWRITE)
os.chmod(path, stat.S_IREAD | stat.S_IWRITE | stat.S_IRGRP | stat.IWGRP)
func(path)


Expand Down

0 comments on commit 31bdee0

Please sign in to comment.