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

Add reading permission to the archive file #387

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

iaraota
Copy link
Collaborator

@iaraota iaraota commented Nov 21, 2023

#378 changed the creation of the archive file from a temporary file, to avoid loosing backups. By construction, NamedTemporaryFile gives sets the permission to 600. In this PR the permission of the newly created archive file is reset to 664, which grants reading permission to any user.

@iaraota iaraota requested a review from eagoetz November 21, 2023 19:35
@iaraota iaraota self-assigned this Nov 21, 2023
@eagoetz eagoetz added this to the 2.2.1 milestone Jan 16, 2024
Copy link
Collaborator

@eagoetz eagoetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eagoetz eagoetz merged commit b007282 into gwpy:master Jan 16, 2024
8 checks passed
@iaraota iaraota deleted the fix_archive_permission branch April 23, 2024 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants