btrfs-progs: fix sandboxing for btrfs subvolume ops
This commit is contained in:
@@ -4,7 +4,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
sane.programs.btrfs-progs = {
|
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 = [
|
sandbox.extraPaths = [
|
||||||
"/dev/btrfs-control"
|
"/dev/btrfs-control"
|
||||||
#vvv required for `sudo btrfs filesystem show` with no args
|
#vvv required for `sudo btrfs filesystem show` with no args
|
||||||
|
Reference in New Issue
Block a user