Skip to content

Conversation

@ColeMurray
Copy link

Summary

This PR fixes file permissions for dynamically created function files from 0o777 (world-writable) to 0o755 (owner-writable, world-readable/executable).

Changes

  • Modified clearml_session/interactive_session_task.py:1629 to use 0o755 instead of 0o777 when setting permissions for generated function files

Rationale

Files created with 0o777 permissions allow any user on the system to modify them. Using 0o755 follows the principle of least privilege while maintaining the necessary execute permissions.

Changed overly permissive file permissions for dynamically created
function files from 0o777 (world-writable) to 0o755 (owner-writable,
world-readable/executable).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant