Skip to content

fix(registry): coreutils stat/chmod/ls show real permission bits#265

Open
NathanFlurry wants to merge 1 commit into
fs-native-parityfrom
coreutils-posix-perms
Open

fix(registry): coreutils stat/chmod/ls show real permission bits#265
NathanFlurry wants to merge 1 commit into
fs-native-parityfrom
coreutils-posix-perms

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

Stacked on #264 (needs its host_fs mode imports).

  • Rust std bypasses libc on wasm32-wasip1, so the coreutils commands don't see the mode bits feat(registry): filesystem native-parity — stat mode bits, chmod, access #264 gave the C stat(). This wires uu_stat/uu_chmod/uu_ls to call the host_fs mode imports directly from Rust.
  • stat shows real Access: (0644/-rw-r--r--); chmod 600 is reflected; ls -l shows the real permission column
  • embeds the uucore locale catalogs so labels render (File:/Access:) instead of message-id placeholders (stat-word-*, touch-error-cannot-touch)
  • vendor/patch-vendor + Cargo.lock refresh so the crate patches apply cleanly

Verified in real just shell: stat/chmod/ls -l all show correct perms and labels.

@railway-app

railway-app Bot commented Jul 4, 2026

Copy link
Copy Markdown

🚅 Deployed to the secure-exec-pr-265 environment in secure-exec

Service Status Web Updated (UTC)
secure-exec 😴 Sleeping (View Logs) Web Jul 4, 2026 at 3:59 am

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