-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
zstd CLI provides no output when it can't create destination file #231
Comments
Possibly related to #232 , which also detects something and exits silently. |
Latest update in "dev" branch will now answer :
It's not the same error message as spelled by |
Would it be possible to get the error message from the OS? This is an improvement but that would be ideal. |
That's a good idea. But how to do that ? |
It depends on the API you're using; it would typically be from |
Indeed, it works !
Thanks for the hint ! |
Fixed in v0.7.2 |
When trying to compress a file that a user doesn't have permission to, or on a read-only filesystem, or possibly other cases, zstd fails and correctly returns 1 but provides no diagnostics. Example as non-root user:
The text was updated successfully, but these errors were encountered: