Skip to content

feature request: readonly mode for find #669

Open

Description

@kevinburke

As it stands it's difficult to allow agents to use "find" in an untrusted manner because the -exec flag allows find to run any subcommand.

I'd like to propose a Cargo "feature" that disables the use of these flags:

  • -exec
  • -execdir
  • -delete
  • -fprint
  • -fprint0
  • -fprintf
  • -fls

This would build a find that has consistent, "readonly" behavior, that would be easier to trust.

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