public inbox for [email protected]  
help / color / mirror / Atom feed
From: Krzysztof <[email protected]>
To: [email protected]
Subject: Linux file permission for COPY TO SQL command
Date: Tue, 28 Oct 2025 20:39:17 +0100
Message-ID: <[email protected]> (raw)

I try to use COPY TO command to copy results of a SELECT but I get this 
message:

ERROR:  could not open file "a file" for writing: Permission denied

User, group and other are granted full permission to this file. What 
should I do more to get this working?

-- 
Pozdrawiam
Krzysztof Jasieński


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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Linux file permission for COPY TO SQL command
  In-Reply-To: <[email protected]>

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

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