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

Fixes access check and properly handling GID set #131

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

mcandeia
Copy link
Contributor

@mcandeia mcandeia commented Nov 11, 2024

I found a bug where GID isn't being set because it was being compared to uid twice

image

Signed-off-by: Marcos Candeia <[email protected]>
Signed-off-by: Marcos Candeia <[email protected]>
Copy link
Member

@james-pre james-pre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small issue with logic/conditional check. Other than that, this is great!

src/stats.ts Outdated Show resolved Hide resolved
src/stats.ts Outdated Show resolved Hide resolved
tests/fs/stat.test.ts Outdated Show resolved Hide resolved
src/stats.ts Outdated Show resolved Hide resolved
@james-pre james-pre merged commit 3aceb72 into zen-fs:main Nov 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants