Closed codyro closed 12 months ago
Adjust permissions of the distributed/mounted customPostgresql.conf to root:root 0644 so the postgres user can read the mounted configuration file.
customPostgresql.conf
root:root
0644
postgres
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.
UID 70:70
0600
Refs https://github.com/LemmyNet/lemmy-ansible/pull/183 & https://github.com/LemmyNet/lemmy-ansible/pull/183#issuecomment-1751809582
183 Got merged prematurely before this could be resolved, so this PR addresses that.
Adjust permissions of the distributed/mounted
customPostgresql.conf
toroot:root
0644
so thepostgres
user can read the mounted configuration file.I opted for
0644
instead ofUID 70:70
0600
as thecustomPostgresql.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