LemmyNet / lemmy-ansible

A docker deploy for ansible
GNU Affero General Public License v3.0
248 stars 92 forks source link

Adjust permissions for the distributed postgresql.conf #187

Closed codyro closed 12 months ago

codyro commented 12 months ago

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 https://github.com/LemmyNet/lemmy-ansible/pull/183 & https://github.com/LemmyNet/lemmy-ansible/pull/183#issuecomment-1751809582