public inbox for [email protected]  
help / color / mirror / Atom feed
From: Rob Sargent <[email protected]>
To: Krzysztof <[email protected]>
Cc: [email protected]
Subject: Re: Linux file permission for COPY TO SQL command
Date: Tue, 28 Oct 2025 13:03:07 -1000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>



> On Oct 28, 2025, at 9:39 AM, Krzysztof <[email protected]> wrote:
> 
> 
> 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
> 
> 

Is there really a space in the actual file name. That might get tricky. You’re suggesting the file already exists: is that true? Directory permissions?
> 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], [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