PostgreSQL - inconsistent COPY permissions errors

前端 未结 3 1786
既然无缘
既然无缘 2021-01-14 20:24

I am using the EnterpriseDB pgAdmin III (v. 1.12.1) on a Windows 7, 32-bit machine to work with PostgreSQL databases on a remote Linux server. I am logged in as the user pos

3条回答
  •  囚心锁ツ
    2021-01-14 21:04

    I think your postgres user still don't have access to your file.

    Did you tried the folowing commands ?

    chown postgres /var/lib/pgsql/data/file.csv

    chmod u+r /var/lib/pgsql/data/file.csv

提交回复
热议问题