Skip to content

Why are only --rox, --ro generous? #34

Description

@bglgwyng

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions