Skip to content

Commit

Permalink
Use octal for default permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mssalvatore committed Jun 11, 2024
1 parent adbd06a commit 9f7c2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentpluginapi/i_linux_agent_command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LinuxDownloadOptions(InfectionMonkeyBaseModel):

class LinuxSetPermissionsOptions(InfectionMonkeyBaseModel):
file_path: PurePosixPath
permissions: int = Field(ge=0, le=0o777, default=700)
permissions: int = Field(ge=0, le=0o777, default=0o700)


class LinuxRunOptions(InfectionMonkeyBaseModel):
Expand Down

0 comments on commit 9f7c2f3

Please sign in to comment.