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

add: Fix incorrect Gid and Uid creation #254

Merged
merged 6 commits into from
Jun 9, 2023
Merged

Conversation

wcampbell0x2a
Copy link
Owner

91a8e34 add: Read new file metadata from --file, force --dir
454cd8b backhand: Fix Uid and Gid adding to FilesystemWriter
1df1d83 add: Improve --help for dir
696e2b3 docs: Replace guid with gid

todo

  • add tests for add binary

- Fix bug that a Gids and Uids were not entered as the value of the id,
  but as the index thus not actually saving the new Id. The fix is to
  let NodeHeader *always* contain the actual value of the id, and only
  write the index of the Gid and Uid when converting to InodeHeader
- Instead of incorrectly taking the Gid and Uid from the image, take
  from the added --file, also represent as u32
- When using --dir, force to give a uid/gid
@wcampbell0x2a wcampbell0x2a force-pushed the fix-add-file-metadata branch 3 times, most recently from 50bb702 to 9b3b4bd Compare June 9, 2023 02:37
@wcampbell0x2a wcampbell0x2a merged commit aa059b7 into master Jun 9, 2023
15 checks passed
@wcampbell0x2a wcampbell0x2a deleted the fix-add-file-metadata branch June 9, 2023 03:02
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

1 participant