Re: postgres data permission

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: postgres data permission
Дата
Msg-id
5875.1279208413@sss.pgh.pa.us
Ответ на
postgres data permission (Silvio Brandani)
Список
Дерево обсуждения
postgres data permission Silvio Brandani <silvio.brandani@tech.sdb.it>
Re: postgres data permission Tom Lane <tgl@sss.pgh.pa.us>
Re: postgres data permission David Bear <David.Bear@asu.edu>
Re: postgres data permission Silvio Brandani <silvio.brandani@tech.sdb.it>
Re: postgres data permission Rob Wultsch <wultsch@gmail.com>
Re: postgres data permission Jim Montgomery <monty1967@hotmail.com>
Re: postgres data permission Rob Wultsch <wultsch@gmail.com>
cache lookup failed for relation (just some data here) "Burgholzer, Robert (DEQ)" <Robert.Burgholzer@deq.virginia.gov>
Silvio Brandani  writes:
> I need to start a postgres istance on a samba filesystems /data which 
> have rwxrwxrwx (777) permissions, Ic ould not change  such permissions.
> If I try to start postgres it complain that should be 700 permission .

> How can I skip this control by postgres startup process and be able to 
> startup istance on this "special folder"??

You can't, and it wouldn't be a good idea even if you could.

I think what you're really saying is that you are trying to create a
Postgres data directory directly on a filesystem mount point.  Don't do
that (it's a large-caliber foot-gun even aside from permissions issues).
Make a subdirectory in the mount point, and use that as the data
directory, and make sure it has the right ownership and permissions.

			regards, tom lane
В списке pgsql-admin по дате отправления
От: Burgholzer, Robert (DEQ)
Дата:
От: David Bear
Дата:
Сообщение: Re: postgres data permission
FAQ