pgBarman wall files create permission

15 views
Skip to first unread message

Rafał Karpiński

unread,
Feb 21, 2025, 4:29:31 AMFeb 21
to Barman, Backup and Recovery Manager for PostgreSQL
Good morning,
Is it possible to change the permissions of WAL files at the creation stage?
For example, with a parameter? Currently, WAL files are created with permissions 600, but I need them to be 650.

Israel Barth

unread,
Feb 21, 2025, 2:45:47 PMFeb 21
to pgba...@googlegroups.com
Hi Rafal,

Currently Barman has no configuration option to handle your request.
It actually contains no calls to chmod or umask in the code to change permissions of existing or new files.

I'm not sure why you need them to be 650. In any case, with the current Barman code, maybe you could leverage a post_archive_script to handle the permissions change?

Best regards,
Israel.

--
--
You received this message because you are subscribed to the "Barman for PostgreSQL" group.
To post to this group, send email to pgba...@googlegroups.com
To unsubscribe from this group, send email to
pgbarman+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pgbarman?hl=en?hl=en-GB

---
You received this message because you are subscribed to the Google Groups "Barman, Backup and Recovery Manager for PostgreSQL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pgbarman+u...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/pgbarman/8e912a9e-cef6-4963-a312-ef44a5705cf7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages