Skip to content

Commit 96ba894

Browse files
committed
fix: rebase
1 parent 0080a21 commit 96ba894

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

nix/packages/lib.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@
152152
# these shouldn't exist on psql_15
153153
${lib.optionalString (paths ? pgHbaUsersPublicConfigFile) ''
154154
cp ${paths.pgHbaUsersPublicConfigFile} $out/etc/postgresql/pg_hba_users_public.conf || { echo "Failed to copy pg_hba_users_public.conf"; exit 1; }
155-
chmod 644 $out/etc/postgresql/pg_hba_users_public.conf
155+
chmod 664 $out/etc/postgresql/pg_hba_users_public.conf
156156
''}
157157
${lib.optionalString (paths ? pgHbaPublicConfigFile) ''
158158
cp ${paths.pgHbaPublicConfigFile} $out/etc/postgresql/pg_hba_public.conf || { echo "Failed to copy pg_hba_public.conf"; exit 1; }
159-
chmod 644 $out/etc/postgresql/pg_hba_public.conf
159+
chmod 664 $out/etc/postgresql/pg_hba_public.conf
160160
''}
161161
162162
cp ${paths.pgIdentConfigFile} $out/etc/postgresql/pg_ident.conf || { echo "Failed to copy pg_ident.conf"; exit 1; }
@@ -166,7 +166,7 @@
166166
chmod 644 $out/etc/postgresql-custom/supautils.conf
167167
chmod 644 $out/etc/postgresql/postgresql.conf
168168
chmod 644 $out/etc/postgresql-custom/logging.conf
169-
chmod 644 $out/etc/postgresql/pg_hba.conf
169+
chmod 664 $out/etc/postgresql/pg_hba.conf
170170
171171
substitute ${../tools/run-server.sh.in} $out/bin/start-postgres-server \
172172
${builtins.concatStringsSep " " (

0 commit comments

Comments
 (0)