| От | Joshua D. Drake |
|---|---|
| Тема | Re: Could not create a tablespace - permission denied |
| Дата | |
| Msg-id | 480A3F49.7080406@commandprompt.com обсуждение исходный текст |
| Ответ на | Re: Could not create a tablespace - permission denied (Graham Leggett <minfrin@sharp.fm>) |
| Ответы |
Re: Could not create a tablespace - permission denied
|
| Список | pgsql-admin |
Graham Leggett wrote: > Joshua D. Drake wrote: > >> I am pretty sure you are missing something. I can not reproduce your >> issue: > > Do it like this: > > - mkdir /tmp/foo > - chown user:user /tmp/foo > - edit /etc/group and add postgres to the group user Aha! there it is. Adding a user to a group doesn't mean anything until that user reinitializes the environment. That is why restarting postgresql resolves the issue. When postgresql is started, is actually launches a new shell as the user and the fact that they are part of the group is picked up. Sincerely, Joshua D. Drake
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера