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

Compressed file from stdin does not respect umask #1729

Closed
svenha opened this issue Aug 19, 2019 · 0 comments · Fixed by #1731
Closed

Compressed file from stdin does not respect umask #1729

svenha opened this issue Aug 19, 2019 · 0 comments · Fixed by #1731
Assignees
Labels

Comments

@svenha
Copy link

svenha commented Aug 19, 2019

patch #1644 causes an unexpected change in 1.4.2 and 1.4.1 (compared to 1.4.0 and before): if compressing from stdin to a file, the file always has final rights 0600 instead of umask. This breaks a lot of code, I fear.
Example:

echo "123456789" | zstd -14 -f -q -o test.zst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants