Re: [PATCH] get_home_path: use HOME

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] get_home_path: use HOME
Дата
Msg-id 0430af0b-d7ed-c78c-4ea8-2ba7a759932e@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [PATCH] get_home_path: use HOME  (Rudolf Gavlas <r.stu3.1@googlemail.com>)
Список pgsql-hackers
On 9/20/16 1:44 PM, Rudolf Gavlas wrote:
> If you think that using the value of HOME variable as the user's home
> directory is bad idea, I won't argue with that, I've already expressed
> my opinion. What is the real problem here is using home directory of a
> user A as a home directory for user B. That's clearly a bug and if you
> want to solve it without using HOME, I am fine with that.

I have no problem with using the HOME variable optionally.  That is
wide-spread practice.  But I dispute what you describe as the "real
problem".  In Unix, users are identified by uids.  The real problem, as
I see it, is that you think you have multiple users but you actually don't.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: wal_segment size vs max_wal_size
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: New SQL counter statistics view (pg_stat_sql)