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

pyth: failed to create key_store directory [13 Permission denied] #206

Closed
Smea1 opened this issue Jul 26, 2022 · 3 comments
Closed

pyth: failed to create key_store directory [13 Permission denied] #206

Smea1 opened this issue Jul 26, 2022 · 3 comments

Comments

@Smea1
Copy link

Smea1 commented Jul 26, 2022

When I'm about to create a solana key pair, it says I don't have permission

I have no name!@116c6ad4bcb5:/home/pyth/pyth-client/build$ ./pyth init_key -k $KDIR
pyth: failed to create key_store directory [13 Permission denied]

@guibescos
Copy link
Contributor

guibescos commented Jul 26, 2022

Make sure the user that's running this has access to $KDIR and that the $KDIR environment variable is well defined.
Do you have more details?

@Smea1
Copy link
Author

Smea1 commented Jul 27, 2022

Make sure the user that's running this has access to $KDIR and that the $KDIR environment variable is well defined. Do you have more details?

yes,I want to try uploading prices. According to this link:https://docs.pyth.network/publish-data,but when I want to create a solana account after entering docker and running build.sh, it fails.
This is a screenshot of the command:

I have no name!@38d181fe0c9c:/home/pyth/pyth-client/build$ KDIR=$HOME/.pythd
I have no name!@38d181fe0c9c:/home/pyth/pyth-client/build$ ./pyth init_key -k $KDIR
pyth: failed to create key_store directory [13 Permission denied]

@Smea1
Copy link
Author

Smea1 commented Jul 27, 2022

Here is a screenshot of me using the default command

I have no name!@38d181fe0c9c:/home/pyth/pyth-client/build$ ./pythd init_key
pythd: cant find key_store directory [2 No such file or directory]
[2022-07-27T09:12:12.993814Z 413 INF pythd_teardown ] secondary=0

@Smea1 Smea1 closed this as completed Jul 29, 2022
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

No branches or pull requests

2 participants