Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust sentinel config directory permission to proactively prepare for pebble v1.15 #99

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shayancanonical
Copy link

Issue

Juju 3.6 will upgrade from pebble v1.10.2 to v1.15.0 which includes the following PR: canonical/pebble#423

TLDR; pebble did not account for umask previous to this PR. so if one uses pebble mkdir with permissions 770 or 777, umask will de-escalate privileges to 755. however, with this PR, the permissions for a newly created directory will be exactly what one specifies

Solution

Since sentinel config directory (created with 770) is actually being de-escalated to 750, change the permissions to it explicitly to avoid surprises when upgrading to juju 3.6

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