Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

t3c setting mode 0600 for secure files#6240

Merged
ocket8888 merged 46 commits intoapache:masterfrom
jpappa200:t3c_perm
Nov 9, 2021
Merged

t3c setting mode 0600 for secure files#6240
ocket8888 merged 46 commits intoapache:masterfrom
jpappa200:t3c_perm

Conversation

@jpappa200
Copy link
Copy Markdown
Contributor

Closes: #6032
As described in the issue files designated secure will be written with 0600 permissions.


Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (T3C, formerly ORT)

What is the best way to verify this PR?

Build an rpm, install it on an admin_down or lab cache, queue updates and run t3c in apply mode.

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

@ocket8888 ocket8888 added cache-config Cache config generation improvement The functionality exists but it could be improved in some way. labels Oct 19, 2021
Copy link
Copy Markdown
Contributor

@jrushford jrushford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good to me. Passes unit and integration tests. Ran t3c in badass mode and all secure files were created with permissions 0600

Comment thread cache-config/t3c-check-reload/README.md
@ocket8888 ocket8888 merged commit df1ea8f into apache:master Nov 9, 2021
@jpappa200 jpappa200 deleted the t3c_perm branch February 28, 2022 20:51
@jpappa200 jpappa200 restored the t3c_perm branch February 28, 2022 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cache-config Cache config generation improvement The functionality exists but it could be improved in some way.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add t3c setting mode 0600 for secure files

3 participants