> On Oct 28, 2025, at 9:39 AM, Krzysztof <kj(at)limes(dot)com(dot)pl> 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