| От | Tom Lane |
|---|---|
| Тема | Re: server permissions for sql copy |
| Дата | |
| Msg-id | 3093.975684777@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | server permissions for sql copy (Andrew Gould <andrewgould@yahoo.com>) |
| Список | pgsql-general |
Andrew Gould <andrewgould@yahoo.com> writes:
> I'm running PostgreSQL 7.0.2 on Caldera eDesktop 2.4.
> when I try to use the SQL COPY command in psql, I get
> an error message informing me that the backend could
> not open the file for reading. I think the error
> number was 13 - Permission denied. I changed the
> permissions of the directory and file to
> world-readable; but I still get the same error
> message.
What about the directories above the one containing the file?
Also, don't forget that the critical permission for a directory
is execute (= "allow lookup of entries"), not read (= "make a
directory listing"). You probably want permissions rwxr-xr-x
or rwxrwxr-x on directories that need to be publicly readable.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера