https://github.com/srid/sandnix/blob/master/modules/flake-parts/sandnix/linux/wrapper.nix#L36-L40
This caused nix run ./examples/claude-sandboxed to fail on my machine, since the directories don't exist yet. Not a big deal, but I'm curious about the intention behind this — is it expected that these paths are pre-initialized?
Also, I noticed that --rox and --ro paths are conditionally added (only if the path exists), while --rwx and --rw are always passed as static args. What's the reasoning behind treating them differently?
https://github.com/srid/sandnix/blob/master/modules/flake-parts/sandnix/linux/wrapper.nix#L36-L40
This caused nix run ./examples/claude-sandboxed to fail on my machine, since the directories don't exist yet. Not a big deal, but I'm curious about the intention behind this — is it expected that these paths are pre-initialized?
Also, I noticed that --rox and --ro paths are conditionally added (only if the path exists), while --rwx and --rw are always passed as static args. What's the reasoning behind treating them differently?