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 permissions for the distributed postgresql.conf #187

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

codyro
Copy link
Collaborator

@codyro codyro commented Oct 9, 2023

#183 Got merged prematurely before this could be resolved, so this PR addresses that.

Adjust permissions of the distributed/mounted customPostgresql.conf to root:root 0644 so the postgres user can read the mounted configuration file.

I opted for 0644 instead of UID 70:70 0600 as the customPostgresql.conf doesn't carry anything sensitive, and it seems less prone to breakage.

Refs #183 & #183 (comment)

@ticoombs ticoombs merged commit 7f1a879 into LemmyNet:main Oct 9, 2023
1 check passed
@ticoombs ticoombs added this to the 1.2.1 milestone Oct 9, 2023
@codyro codyro deleted the postgres-config-permissions branch October 9, 2023 23:14
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.

None yet

2 participants