iw7-mod/deps/zstd/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh
2024-08-13 05:15:34 -04:00

13 lines
163 B
Bash

#!/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