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

Set permissions on /opt/puppetlabs/pe_databases and /opt/puppetlabs/pe_databases/scripts #18

Merged
merged 4 commits into from Jun 25, 2018

Conversation

mmarod
Copy link
Contributor

@mmarod mmarod commented May 23, 2018

When umask is restrictive (eg: 0077), the pe-postgres user cannot access /opt/puppetlabs/pe_databases/scripts because the mode becomes 0700 and is owned by root. This sets the mode to 0755 which allows pe-postgres to access the scripts.

I also fixed a minor logging issue in the backup script. It was putting the truncate command output to stdout instead of into the log.

This fixes #19

mmarod and others added 4 commits June 25, 2018 09:15
…ess /opt/puppetlabs/pe_databases/scripts because the mode becomes 0700 and is owned by root
@npwalker npwalker merged commit 85b2ec4 into puppetlabs:master Jun 25, 2018
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.

When umask is restrictive, the pe-postgres user cannot access scripts/
3 participants