Skip to content

Reduce Docker privileges: drop --privileged when CIFS is not used #15

Description

@vitorfranklin

Already flagged as planned in SECURITY.md and the README Known Limitations: the container only needs --privileged for mount -t cifs. When ROMs come from a local volume mount, no elevated privileges are required at all; when CIFS is used, --cap-add SYS_ADMIN should be enough.

Suggested approach: document/run the container unprivileged by default; detect at mount time that the capability is missing and return a clear error telling the user which flag to add.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions