Skip to content

Support individual-file filesystem mappings #282

Description

Allow callers to expose a single existing host file to an NVX workload, without exposing its parent directory.

Example Expected behaviour
Grant read-only access to C:\config\settings.json The workload can read that file but cannot modify it.
Grant read-write access to C:\results\output.txt The workload can read and update that file.
Other files exist beside the granted file They remain inaccessible unless separately granted.

Do not replace a file grant with a broader directory grant. Keep denied-path restrictions enforced.

Verify reads, allowed writes, blocked writes and sibling-file isolation with real workloads.

MXC schema requirement: filesystem.readonlyPaths and filesystem.readwritePaths describe path grants; the current NVX export interface requires a directory root.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions