Skip to content

Commit

Permalink
Catch more enables
Browse files Browse the repository at this point in the history
  • Loading branch information
callumforrester committed Jan 6, 2025
1 parent 9f0ede8 commit 8b7dc04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blueapi/cli/scratch.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ def _validate_root_directory(root_path: Path, required_gid: int | None) -> None:
raise PermissionError(
textwrap.dedent(f"""
The scratch area root directory ({root_path}) needs to have the
SGID permission bit enabled. This allows blueapi to clone
SGID permission bit set. This allows blueapi to clone
repositories into it while retaining the ability for
other users in an approved group to edit/delete them.
See https://www.redhat.com/en/blog/suid-sgid-sticky-bit for how to
enable the SGID bit.
set the SGID bit.
""")
)
elif required_gid is not None and get_owner_gid(root_path) != required_gid:
Expand Down

0 comments on commit 8b7dc04

Please sign in to comment.