Skip to content

Add Belarus file permissions and private user homes - #172

Merged
notlibrary merged 1 commit into
mainfrom
belarus-file-modes
Nov 27, 2026
Merged

notlibrary merged 1 commit into
mainfrom
belarus-file-modes

Conversation

@notlibrary

Copy link
Copy Markdown
Owner

Follow-up to #171.

Changes

  • Store octal modes and owners in Belarus inodes while continuing to read existing images.
  • Add China’s chmod, chown, and stat. With chmod(): "-R" 755 "/path", Rush applies the mode to the directory and its descendants after checking permissions across the tree.
  • Give new accounts a private 700 home under /home/<username> and set HOME at login.

Moscow enforces owner and other bits and preserves group bits on disk.

Verification

  • Checked that Belarus preserves modes and ownership across reopen and rename, and that its filesystem check passes.
  • Verified installation, private-home access, and permission changes in QEMU.
  • Passed the QEMU UEFI live ISO suite, including recursive chmod on a directory, subdirectory, and file.

@notlibrary
notlibrary merged commit 667f5f2 into main Nov 27, 2026
1 check failed
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.

1 participant