Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set permissions for pg_bulkload log #112

Open
zzgzhang opened this issue Aug 27, 2021 · 1 comment
Open

Set permissions for pg_bulkload log #112

zzgzhang opened this issue Aug 27, 2021 · 1 comment

Comments

@zzgzhang
Copy link

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.

@mikecaat
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants