pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: richard coleman <rcoleman.ascentgl@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: COPY FROM appears broken in PostgreSQL 15
Date: Tue, 31 Oct 2023 17:19:03 -0400
Message-ID: <2637792.1698787143@sss.pgh.pa.us> (raw)
In-Reply-To: <2637137.1698786704@sss.pgh.pa.us>
References: <CAGA3vBvJx=YX3SCg4D6oct1RNjqW4ToEXe7=V285gqTQc7x0Fg@mail.gmail.com>
	<2637137.1698786704@sss.pgh.pa.us>

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





view thread (3+ messages)

Message-ID: <2637792.1698787143@sss.pgh.pa.us>
Permalink:  ../2637792.1698787143@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2637792.1698787143@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rcoleman.ascentgl@gmail.com
  Subject: Re: COPY FROM appears broken in PostgreSQL 15
  In-Reply-To: <2637792.1698787143@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox