{"action":"created","issue":{"url":"https://api.github.com/repos/Cyan4973/zstd/issues/231","repository_url":"https://api.github.com/repos/Cyan4973/zstd","labels_url":"https://api.github.com/repos/Cyan4973/zstd/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/Cyan4973/zstd/issues/231/comments","events_url":"https://api.github.com/repos/Cyan4973/zstd/issues/231/events","html_url":"https://github.com/Cyan4973/zstd/issues/231","id":163409814,"number":231,"title":"zstd CLI provides no output when it can't create destination file","user":{"login":"chipturner","id":601111,"avatar_url":"https://avatars.githubusercontent.com/u/601111?v=3","gravatar_id":"","url":"https://api.github.com/users/chipturner","html_url":"https://github.com/chipturner","followers_url":"https://api.github.com/users/chipturner/followers","following_url":"https://api.github.com/users/chipturner/following{/other_user}","gists_url":"https://api.github.com/users/chipturner/gists{/gist_id}","starred_url":"https://api.github.com/users/chipturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipturner/subscriptions","organizations_url":"https://api.github.com/users/chipturner/orgs","repos_url":"https://api.github.com/users/chipturner/repos","events_url":"https://api.github.com/users/chipturner/events{/privacy}","received_events_url":"https://api.github.com/users/chipturner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-01T14:41:05Z","updated_at":"2016-07-01T22:59:08Z","closed_at":null,"body":"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:\r\n\r\n```shell\r\n$ gzip /etc/passwd; echo $?\r\ngzip: /etc/passwd.gz: Permission denied\r\n1\r\n$ zstd /etc/passwd; echo $?\r\n1\r\n```"},"comment":{"url":"https://api.github.com/repos/Cyan4973/zstd/issues/comments/230064568","html_url":"https://github.com/Cyan4973/zstd/issues/231#issuecomment-230064568","issue_url":"https://api.github.com/repos/Cyan4973/zstd/issues/231","id":230064568,"user":{"login":"Cyan4973","id":750081,"avatar_url":"https://avatars.githubusercontent.com/u/750081?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyan4973","html_url":"https://github.com/Cyan4973","followers_url":"https://api.github.com/users/Cyan4973/followers","following_url":"https://api.github.com/users/Cyan4973/following{/other_user}","gists_url":"https://api.github.com/users/Cyan4973/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyan4973/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyan4973/subscriptions","organizations_url":"https://api.github.com/users/Cyan4973/orgs","repos_url":"https://api.github.com/users/Cyan4973/repos","events_url":"https://api.github.com/users/Cyan4973/events{/privacy}","received_events_url":"https://api.github.com/users/Cyan4973/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T22:59:08Z","updated_at":"2016-07-01T22:59:08Z","body":"Indeed, it works !\r\n```\r\n./zstd /etc/passwd; echo $?\r\nzstd: /etc/passwd.zst: Permission denied \r\n1\r\n```\r\nThanks for the hint !"}}
{"actor":{"display_login":"Cyan4973"}}