Re: Configurable path to look up dynamic libraries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Configurable path to look up dynamic libraries
Дата
Msg-id 11393.989955780@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Configurable path to look up dynamic libraries  (teg@redhat.com (Trond Eivind Glomsrød))
Ответы Re: Configurable path to look up dynamic libraries  (teg@redhat.com (Trond Eivind Glomsrød))
Список pgsql-hackers
teg@redhat.com (Trond Eivind Glomsrød) writes:
>> There is a security issue here: stuff stored in datadir is not visible
>> to random other users on the machine (since datadir is mode 700), but
>> I would not expect sysconfdir to be mode 700.  

> It could be (the RPMs specify a sysconfdir of /etc/pgsql)

The usual install procedure would probably leave sysconfdir owned by
root, if one likes to install in such a way that the binaries are owned
by root (ie make, su root, make install).  I'd object to a setup that's
insecure for people who aren't using RPMs.

The real bottom line here, though, is that you haven't shown me any
positive reason to move the config files out of datadir.  They're not
broken where they are; and arguably they *are* data.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: Configurable path to look up dynamic libraries
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Configurable path to look up dynamic libraries