Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DartBot opened this issue Jan 9, 2015 · 3 comments
Closed

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

DartBot opened this issue Jan 9, 2015 · 3 comments
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)

Comments

@DartBot
Copy link

DartBot commented Jan 9, 2015

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.

@DartBot
Copy link
Author

DartBot commented Jan 10, 2015

This comment was originally written by @seaneagan


Some background on how this could be implemented in windows:

baudehlo/node-fs-ext#27

@lrhn
Copy link
Member

lrhn commented Jan 10, 2015

Added Library-IO, Area-Library, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Apr 21, 2015

This comment was originally written by @kaendfinger


See https://code.google.com/p/dart/issues/detail?id=14467 for my proposal for implementing access to UID. I could also extend this to GID too.

@DartBot DartBot added Type-Defect library-io area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Apr 21, 2015
@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Mar 1, 2016
@lrhn lrhn closed this as completed Jun 1, 2024
@lrhn lrhn added the closed-stale Closed as the issue or PR is assumed stale label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Projects
None yet
Development

No branches or pull requests

3 participants