Skip to content

fix(secrets): file permission value does not comply with spec#10784

Merged
glours merged 1 commit intodocker:v2from
shantanoo-desai:v2
Jul 10, 2023
Merged

fix(secrets): file permission value does not comply with spec#10784
glours merged 1 commit intodocker:v2from
shantanoo-desai:v2

Conversation

@shantanoo-desai
Copy link
Copy Markdown
Contributor

Compose Spec mentions that default values for secrets is 0444 aka. world-readable permissions. However, the value was previously set to 0400.

What I did
Fix the file permission mode value from previously set 0400 to 0444 in order to comply with the Compose Specifications where Secrets should be defaulted to world-readable permissions unless not explicitly mentioned via Long Syntax.

Related issue

closes #10783

(not mandatory) A picture of a cute animal, if possible in relation to what you did

closes docker#10783

Compose Spec mentions that default values for secrets is `0444` aka. world-readable permissions. However, the value was previously set to `0400`. 


Signed-off-by: Shan Desai <shantanoo.desai@gmail.com>
@milas milas requested review from a team, StefanScherer, glours, laurazard, milas, ndeloof, nicksieger and ulyssessouza and removed request for a team July 10, 2023 12:24
@milas milas self-assigned this Jul 10, 2023
Copy link
Copy Markdown
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the PR!

@glours glours merged commit 29daae3 into docker:v2 Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Secrets permission mode value does not comply with current Compose Specification

4 participants