Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted - Mailing list pgsql-general

From Mladen Gogala
Subject Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted
Date
Msg-id 14c7c00e-4812-f7e1-13fa-92a6faafed59@gmail.com
Whole thread Raw
In response to Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted  (Perry Smith <pedz@easesoftware.com>)
List pgsql-general
On 9/9/22 00:08, Perry Smith wrote:
The data directory is outside so it is persistent.  The pg_stat_tmp is inside the data directory.  

Ah, that's the reason. Docker daemon runs as root so if you do binding mount, files will be owned by root. You may want to use normal Docker volume and not an external directory.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

pgsql-general by date:

Previous
From: Perry Smith
Date:
Subject: Re: ***SPAM*** Re: WARNING: could not open statistics file "pg_stat_tmp/global.stat": Operation not permitted
Next
From: shanker singh
Date:
Subject: Re: ERROR: cache lookup failed for user mapping 476444