Re: COPY FROM appears broken in PostgreSQL 15 - Mailing list pgsql-admin

From Tom Lane
Subject Re: COPY FROM appears broken in PostgreSQL 15
Date
Msg-id 2637792.1698787143@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY FROM appears broken in PostgreSQL 15  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
I wrote:
> richard coleman <rcoleman.ascentgl@gmail.com> writes:
>> I have checked and the postgres user can read/write to the file just fine.

> Check that again.  Check lookup permission on all the directories in
> the path, too.

BTW, if you're on a selinux-enabled system (most Red-Hat-based
distros), you need to check file contexts too.  Under selinux,
it's not uncommon for a daemon process to have fewer privileges
than the "same" user running an interactive session.

            regards, tom lane



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: COPY FROM appears broken in PostgreSQL 15
Next
From: Zhaoxun Yan
Date:
Subject: connection with the ha-availability software 'repmgr' broke down for idle