We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 705156f commit bbda71cCopy full SHA for bbda71c
1 file changed
src/rapid7/tools/install_insight_agent.py
@@ -51,7 +51,7 @@ def make_executable(filepath: str) -> None:
51
Args:
52
filepath: Path to file to make executable
53
"""
54
- os.chmod(filepath, 0o755)
+ os.chmod(os.path.basename(filepath), 0o755)
55
56
57
def verify_agent_running() -> bool:
0 commit comments