Re: pg_basebackup fails with Could not stat file or directory "./.pg_hba.conf.un~" - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_basebackup fails with Could not stat file or directory "./.pg_hba.conf.un~"
Date
Msg-id 190974.1678290623@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_basebackup fails with Could not stat file or directory "./.pg_hba.conf.un~"  (Francisco Olarte <folarte@peoplecall.com>)
List pgsql-bugs
Francisco Olarte <folarte@peoplecall.com> writes:
> Besides locking I've encountered this kind of problems with people
> having a habit of editing non-root-owned config files as root with
> editors which do not take care of setting permissions. An ls -l of the
> offending file is normally useful, or the version with all extended
> acl/attrs which I'm unable to recall now.

Yeah, "ls -lZ" to see SELinux labels.  It's easy to forget about those
if you're not pretty used to them.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Thomas Munro
Date:
Subject: Re: BUG #17368: Assert failed in GetSafeSnapshot() for SERIALIZABLE READ ONLY DEFERRABLE transaction
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #17824: PQTRANS_ACTIVE misleading