Re: Security implications of config-file-location patch
От | Bruce Momjian |
---|---|
Тема | Re: Security implications of config-file-location patch |
Дата | |
Msg-id | 200410092156.i99LuL421447@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Security implications of config-file-location patch (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Security implications of config-file-location patch
|
Список | pgsql-hackers |
Tom Lane wrote: > Peter Eisentraut <peter_e@gmx.net> writes: > > Tom Lane wrote: > >> As of CVS tip, if you are using the config-file-location-changing > >> features, anybody can find out the data directory location via > >> "show pgdata"; > > > Btw., couldn't we come up with a more descriptive parameter name than > > "pgdata"? > > Sure. Actually it was just bothering me that "-c pgdata" didn't mean > quite the same thing as setting PGDATA in the environment. Do you like > "data_dir" or "data_directory" for the GUC variable? I was going to suggest 'data_dir' but I see 'directory' is fully spelled out in all other GUC variables in postgresql.conf, so let's use 'data_directory'. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: