Re: [PATCH] get_home_path: use HOME - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] get_home_path: use HOME
Date
Msg-id 0430af0b-d7ed-c78c-4ea8-2ba7a759932e@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] get_home_path: use HOME  (Rudolf Gavlas <r.stu3.1@googlemail.com>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: wal_segment size vs max_wal_size
Next
From: Peter Eisentraut
Date:
Subject: Re: New SQL counter statistics view (pg_stat_sql)