Skip to content

[path_provider] Using TMPDIR env as a primary temporary path #87742

@proninyaroslav

Description

@proninyaroslav

Use case

TMPDIR is a standard variable on UNIX/Linux systems, and is often used in containers such as Flatpak to redirect to a temporary folder inside a sandbox.

Proposal

Using TMPDIR first of all instead of /tmp in the path_provider. This allows not to make hard bindings to the /tmp directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterp: path_providerPlugin that provides resolved paths to some platform directoriespackageflutter/packages repository. See also p: labels.platform-linuxBuilding on or for Linux specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions