Skip to content

Add warning when a relative path is part the path used for resolving commands #1153

@squell

Description

@squell

E.g. suppose /etc/sudoers contains:

Defaults secure_path="/bin:./", emit a soft diagnostic that . is ignored.

Note that the current behaviour is already that relative paths are ignored, but we don't emit a warning. A good place to do that would be common/context.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions