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

v0.16.0 snapshot problem #2085

Closed
wjdfx opened this issue Nov 25, 2019 · 1 comment
Closed

v0.16.0 snapshot problem #2085

wjdfx opened this issue Nov 25, 2019 · 1 comment
Assignees
Labels
bug Something isn't working snapshot

Comments

@wjdfx
Copy link
Contributor

wjdfx commented Nov 25, 2019

Describe the bug
When run command: iris snapshot --home /mnt/data/irisnet/ show error:

panic: load db failed

After testing found the /mnt/data/irisnet/ folder just has 644 permission, but for run snapshot operation.
I think read permission is enough.

Even if permission is required, the error should be a permission problem, not a panic problem.

@wjdfx wjdfx added the bug Something isn't working label Nov 25, 2019
@zhangyelong zhangyelong assigned dreamer-zq and unassigned haifengxi Nov 26, 2019
@dreamer-zq
Copy link
Contributor

@wjdfx Read and write permissions are also required, but this error prompt is indeed not elegant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working snapshot
Projects
None yet
Development

No branches or pull requests

5 participants