Ability to read uid/gid of current process and of FileStat #22037
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-stale
Closed as the issue or PR is assumed stale
library-io
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
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.
The text was updated successfully, but these errors were encountered: