btrfs-progs: fix sandboxing for btrfs subvolume ops

This commit is contained in:
2025-01-18 23:19:39 +00:00
parent 68c9cf7189
commit a46faff066

View File

@@ -4,7 +4,8 @@ let
in
{
sane.programs.btrfs-progs = {
sandbox.autodetectCliPaths = "existing"; # e.g. `btrfs filesystem df /my/fs`
# sandbox.autodetectCliPaths = "existing"; # e.g. `btrfs filesystem df /my/fs`
sandbox.autodetectCliPaths = "parent"; # e.g. `btrfs subvolume create ./my_subvol`
sandbox.extraPaths = [
"/dev/btrfs-control"
#vvv required for `sudo btrfs filesystem show` with no args