BUG #2298: Bug using copy
От | Nahum Castro |
---|---|
Тема | BUG #2298: Bug using copy |
Дата | |
Msg-id | 20060302204708.682B2F0B06@svr2.postgresql.org обсуждение исходный текст |
Ответы |
Re: BUG #2298: Bug using copy
|
Список | pgsql-bugs |
The following bug has been logged online: Bug reference: 2298 Logged by: Nahum Castro Email address: pedro1_72@yahoo.com PostgreSQL version: 8.1.1 Operating system: Linux Kernel 2.6.22 Description: Bug using copy Details: When I try to copy from a file using psql I get the permision error, so I can not load from any file [geografia@localhost datos]$ ls -l total 96 -rwxrwxr-x 1 geografia geografia 30189 mar 2 12:52 archivo1.csv -rwxrwxrwx 1 geografia geografia 30189 mar 2 12:43 archivo.csv -rw-rw-r-- 1 geografia geografia 30189 mar 2 13:32 ar.csv [geografia@localhost datos]$ pwd /home/geografia/datos [geografia@localhost datos]$ psql geoest Bienvenido a psql 8.1.1, la terminal interactiva de PostgreSQL. Digite: \copyright para ver los términos de distribución \h para ayuda de comandos SQL \? para ayuda de comandos psql \g o or termine con punto y coma para ejecutar una consulta \q para salir geoest=# copy datos2 (dato_float, cve_subtema, fecha, fuente, cve_mpio) from '/home/geografia/datos/ar.csv' with csv; ERROR: no se pudo abrir archivo «/home/geografia/datos/ar.csv» para lectura: Permiso denegado geoest=# But it works if I copy the file to /opt/ and load from there. Thanks
В списке pgsql-bugs по дате отправления: