Skip to content

TA-4732: restrict file permissions created by content-cli#335

Open
Jing Sun (kuvia) wants to merge 6 commits intomainfrom
TA-4732-Add-file-permission-writing-context-in-Content-CLI
Open

TA-4732: restrict file permissions created by content-cli#335
Jing Sun (kuvia) wants to merge 6 commits intomainfrom
TA-4732-Add-file-permission-writing-context-in-Content-CLI

Conversation

@kuvia
Copy link
Copy Markdown
Contributor

@kuvia Jing Sun (kuvia) commented Apr 13, 2026

Description

Prevent world writeable/readable files created by content-cli. Directories are created with user rwx permissions and files are created with user rw permissions only.

Note: Downloaded package zips that are not created by content-cli itself but that come from the API have more lenient permissions so when unpacked manually they will still have group/world permissions.

Relevant links

https://celonis.atlassian.net/browse/TA-4732

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

@kuvia Jing Sun (kuvia) requested review from a team as code owners April 13, 2026 09:56
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 13, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants