-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Snapshot file permission issues #3507
Comments
Hello @Magorx15. Thank you for informing us about this problem. Indeed the snapshot permission file changed from v0.30 upward. I'm not sure if this change was intended or not; however, I'd discuss it with the team and get back to you. I understand this might trigger permission issues, but I would like to know specifically how this change impacts you. Thanks again. |
We are trying to upload the snapshot to somewhere else (and therefore we need read permission) which obviously fails as it needs root user for that |
Any updates @oluademola? |
Hey @Magorx15, yeah, this was definitely an issue on our side; it should be fixed for the next release! First RCs coming this week, and official release will be 3rd April! Thanks for the report 💯 |
3561: Fix the snapshots permissions on unix system r=irevoire a=irevoire # Pull Request ## Related issue Fixes #3507 The snapshot permissions were wrong after the v0.30 and the huge refacto of the index scheduler. Fix this issue + add a test on the permissions on unix Co-authored-by: Tamo <tamo@meilisearch.com>
Fixed by #3561, will be released in v1.1.0-rc.1 by the end of the week or at the beginning of next week |
Describe the bug
After creating a snapshot, data.ms.snapshot file has incorrect permissions, unable to interact with it without sudo or as root
To Reproduce
docker run -e MEILI_SNAPSHOT_DIR="/snapshots" -e MEILI_SCHEDULE_SNAPSHOT=true -e MEILI_SNAPSHOT_INTERVAL_SEC=10 getmeili/meilisearch:v0.29.0
The snapshot in /snapshots folder has correct permissions (see screenshots)
docker run -e MEILI_SNAPSHOT_DIR="/snapshots" -e MEILI_SCHEDULE_SNAPSHOT=true -e MEILI_SNAPSHOT_INTERVAL_SEC=10 getmeili/meilisearch:v0.30.0
The snapshot in /snapshots folder has incorrect permissions (see screenshots)
Screenshots
Using v0.29.0
Using v0.30.0-v1.0.0
Meilisearch version: v0.29.0, v0.30.0-v1.0.0
The text was updated successfully, but these errors were encountered: