Files
2026-01-17 23:22:46 +01:00

16 lines
431 B
Plaintext

---
comment: |-
There are also a number of other utilities that rely on `gzip` under the hood, e.g., `zless`, `zcat`, `gunzip`, etc. Besides having similar features, they also allow privileged reads if `gzip` itself is SUID.
functions:
file-read:
- code: |-
gzip -c /path/to/input-file | gzip -d
contexts:
capabilities:
list:
- CAP_DAC_OVERRIDE
sudo:
suid:
unprivileged:
...