umask in prune command #69

Closed
opened 2018-06-14 11:03:43 +00:00 by pavl00 · 3 comments

When one repo is used with more clients (umask 007) prune change repository files permissions using default mask (077) and then other clients cant make backups.

In file prune.py in full_command --umask should be added when used different than default.

When one repo is used with more clients (umask 007) prune change repository files permissions using default mask (077) and then other clients cant make backups. In file prune.py in full_command --umask should be added when used different than default.
Owner

Thanks for reporting! Makes sense to me. Do you think there's ever a use case for different umasks for create and prune? Or do you think they'd always be the same?

Thanks for reporting! Makes sense to me. Do you think there's ever a use case for different umasks for create and prune? Or do you think they'd always be the same?
Author

I think it can be the same umask variable used. I don't see any cases for different umasks - created and modified backup repository should always have the same files permissions.

I think it can be the same umask variable used. I don't see any cases for different umasks - created and modified backup repository should always have the same files permissions.
Owner

This is now implemented, and just released as part of borgmatic version 1.2.0! Enjoy.

This is now implemented, and just released as part of borgmatic version 1.2.0! Enjoy.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#69
No description provided.