Skip to content

[BUG]: Reject silently ignored FUSE mount options [LiAuto] #1399

Description

@yangcx000

Describe the bug

FUSE mount options are stored as strings but only a limited set of exact values is interpreted. Comma-separated forms and security options such as nosuid, nodev, or noexec can be silently ignored, causing actual mount behavior to differ from operator intent.

To Reproduce

  1. Start FUSE with -o allow_other,nodev or an equivalent --options value.
  2. Inspect the final mount flags.
  3. Observe that unsupported or combined options can be ignored without an error.

Expected behavior

Options must be normalized, mapped through an explicit support table, and rejected with the offending name when unknown or unimplemented.

OS Version (please complete the following information):

  • Linux
  • Curvine branch: current main
  • Component: FUSE CLI and mount option mapping

Additional context

Tests must assert final mount flags and FUSE parameters, not only the parsed CLI structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions