Skip to content

Ability to read uid/gid of current process and of FileStat #22037

@DartBot

Description

@DartBot

This issue was originally filed by @seaneagan


FileStat.mode presumably (see issue #22036) allows detection of whether which roles (world, group, user) have which permissions (read, write, execute, sticky bit, set uid, set gid) to the file/directory being statted. But unless we can access the uid and gid of the current process and the file stat, there is no way to tell which permissions the current process has by virtue of its uid and gid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-staleClosed as the issue or PR is assumed stalelibrary-iotype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions