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

Fix st_mode when using default values #26

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Fix st_mode when using default values #26

merged 1 commit into from
Jan 21, 2023

Conversation

phcoder
Copy link
Contributor

@phcoder phcoder commented Jan 20, 2023

st_mode may be empty on e.g. on Inherit the Earth demo dmg root st_mode ends up being 0 on root which results in I/O error down the line when listing root directory.

According to TN we need to fill st_mode, st_uid and st_gid with sane values ourselves in this case.

st_mode may be empty on e.g. on Inherit the Earth demo dmg root
st_mode ends up being 0 on root which results in I/O error down the line
when listing root directory.

According to TN we need to fill st_mode, st_uid and st_gid with sane values
ourselves in this case.
@phcoder phcoder mentioned this pull request Jan 20, 2023
@0x09
Copy link
Owner

0x09 commented Jan 21, 2023

Thanks for adding this and thanks for bringing it up originally! I'll see if hfsfuse can support some of the weirder things that the macOS driver does for these kinds of files around UID substitution/permissions too now that I know about them.

@0x09 0x09 merged commit f36d8ed into 0x09:master Jan 21, 2023
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.

None yet

2 participants