Re: COPY FROM appears broken in PostgreSQL 15

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: COPY FROM appears broken in PostgreSQL 15
Date: 2023-10-31 21:19:03
Message-ID: 2637792.1698787143@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I wrote:
> richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Zhaoxun Yan 2023-11-01 07:36:58 connection with the ha-availability software 'repmgr' broke down for idle
Previous Message Tom Lane 2023-10-31 21:11:44 Re: COPY FROM appears broken in PostgreSQL 15