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

Permissions are too open on /var/snap/charmed-postgresql/current/etc/pgbackrest/pgbackrest.conf #705

Open
ben-ballot opened this issue Dec 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ben-ballot
Copy link

ben-ballot commented Dec 19, 2024

Steps to reproduce

  1. Install postgresql with s3-integrator
  2. Configure an S3 access
  3. Connect on the postgresql primary unit
  4. ls -la /var/snap/charmed-postgresql/current/etc/pgbackrest/pgbackrest.conf will show a 644 file, displaying the credentials to any user

Expected behavior

/var/snap/charmed-postgresql/current/etc/pgbackrest/pgbackrest.conf should be 640 by default

Actual behavior

ubuntu@juju-17db1f-stg-is-discourse-db-10:/var/lib/juju/agents$ ls -la /var/snap/charmed-postgresql/current/etc/pgbackrest/pgbackrest.conf
-rw-r--r-- 1 snap_daemon snap_daemon 561 Dec 19 15:59 /var/snap/charmed-postgresql/current/etc/pgbackrest/pgbackrest.conf

Versions

Operating system: Ubuntu 22.04.5 LTS

Juju CLI: 3.5.5-ubuntu-amd64

Juju agent:

Model                Controller                      Cloud/Region           Version  SLA          Timestamp
stg-is-discourse-db  juju-controller-35-staging-ps6  prodstack6/prodstack6  3.5.5    unsupported  16:40:17Z

Charm revision: 331

@ben-ballot ben-ballot added the bug Something isn't working label Dec 19, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-6258.

This message was autogenerated

Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-6259.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant