-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
bw export : "cannot save file to <path>" when using --output #4619
Comments
Hi there, I attempted to reproduce your issue and was unable to do so. Please review our documentation on using export here. https://bitwarden.com/help/cli/#export - Ensure you are running the latest version of the CLI. You can view how to update this here. https://bitwarden.com/help/cli/#update We use GitHub issues as a place to track bugs and other development related issues. If your issue persists, please write us back using our contact form, so we can continue troubleshooting: https://bitwarden.com/contact/ You can include a link to this issue in the message content. Alternatively, you can also search for an answer in our help documentation (https://bitwarden.com/help/) or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/). The issue here will be closed. Thanks! |
@joshuabjordan are you sure you tested the snap? Because I am seeing the same issue when running Maybe related? #3923 (comment) |
Thanks @peterrus for the notification. I agree that this is very likely a permission issue with the snap. Sorry @joshuabjordan, I hadn't seen your reply. I think I'm using the export command right, since it works with Here are some commands I ran today to test again:
Thanks |
Steps To Reproduce
bw login
bw unlock
export BW_SESSION="<session key>"
bw export --format json --output "/path/to/export_file.json"
Expected Result
A new export is created at the given location.
Actual Result
No file is created and the error
Cannot save file to /path/to/export_file.json
is displayed.Screenshots or Videos
No response
Additional Context
--output "/path/to/export_file.json"
, i.e.bw export --format json
bw export --format json --raw 1> "/path/to/export_file.json"
. I opened the export in a text editor and it seems good.Operating System
Linux
Operating System Version
Kubuntu 22.04 kernel 5.15.0-58-generic
Shell
Bash
Build Version
2023.1.0
Issue Tracking Info
The text was updated successfully, but these errors were encountered: