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

Security: Refuse overwriting the config file in append-only mode #64

Merged
merged 3 commits into from
Apr 2, 2018

Conversation

fd0
Copy link
Member

@fd0 fd0 commented Apr 2, 2018

While working on the rclone serve restic command I noticed that is currently possible to overwrite the config file in a repo even if --append-only is specified. The first commit adds proper tests, and the second commit fixes the issue.

@fd0 fd0 merged commit 0f4f747 into master Apr 2, 2018
fd0 added a commit that referenced this pull request Apr 2, 2018
Security: Refuse overwriting the config file in append-only mode
@fd0 fd0 requested a review from zcalusic April 2, 2018 11:26
@fd0
Copy link
Member Author

fd0 commented Apr 2, 2018

@zcalusic I've merged this so that it's in master, but I'd like you to review the changes if you have the time!

@MichaelEischer MichaelEischer deleted the fix-append-only branch January 3, 2021 19:03
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

Successfully merging this pull request may close these issues.

1 participant