pg_bulkload icon indicating copy to clipboard operation
pg_bulkload copied to clipboard

Set permissions for pg_bulkload log

Open zzgzhang opened this issue 4 years ago • 1 comments

I have installed pg_bulkload on my centos server with pg10, and the usage of pg_bulkload was by controlfile, which LOGFILE was defined. but when we run pu_bulkload for file readin, we got LOGFILE permission as 0600(-rw-------).

can I modify the permission of log file? ps, we set pg10 log permission in postgresql.conf as 0644.

zzgzhang avatar Aug 27 '21 09:08 zzgzhang

Hi, @zzgzhang

Sorry. Now, pg_bulkload doesn't support the parameter that you can control LOGFILE permission like PostgreSQL GUC's log_file_mode. If you want to control it, you need to change the permission using chmod command by yourself.

mikecaat avatar Aug 30 '21 02:08 mikecaat