You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see how one can alter the permissions of the dump files produced by pg_back. Changing the value of umask doesn't seem to have an effect, dump files have mod 0600 regardless of the current umask value :
[postgres@pg1 ~]$ umask
0000
[postgres@-pg1 ~]$ pg_back
2024/10/31 10:09:04 INFO: dumping globals
2024/10/31 10:09:04 INFO: dumping instance configuration
2024/10/31 10:09:04 INFO: dumping database postgres
2024/10/31 10:09:04 INFO: dump of postgres to /var/backups/postgresql/postgres_2024-10-31T10:09:04Z.dump done
2024/10/31 10:09:04 INFO: waiting for postprocessing to complete
2024/10/31 10:09:04 INFO: purging old dumps
[postgres@-pg1 ~]$ ls -l /var/backups/postgresql/postgres_2024-10-31T10:09:04Z.dump
-rw-------. 1 postgres users 1008 Oct 31 10:09 /var/backups/postgresql/postgres_2024-10-31T10:09:04Z.dump
Have I missed something ?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I don't see how one can alter the permissions of the dump files produced by pg_back. Changing the value of umask doesn't seem to have an effect, dump files have mod 0600 regardless of the current umask value :
Have I missed something ?
Thanks.
The text was updated successfully, but these errors were encountered: