singe/thirdparty/zstd/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh
2023-11-14 22:16:48 -06:00

12 lines
163 B
Bash
Executable file

#!/bin/sh
# motivated by issue #3523
datagen > file
mkdir out
chmod 000 out
zstd file -q --trace-file-stat -o out/file.zst
zstd -tq out/file.zst
chmod 777 out