Skip to content

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

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

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 temporarily deployed to secure-exec / secure-exec-pr-265 July 4, 2026 03:50 Destroyed
@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 5:27 pm

@NathanFlurry NathanFlurry force-pushed the coreutils-posix-perms branch from c728f1b to 8145b07 Compare July 4, 2026 17:19
@railway-app railway-app Bot temporarily deployed to secure-exec / secure-exec-pr-265 July 4, 2026 17:19 Destroyed
@NathanFlurry

Copy link
Copy Markdown
Member Author

Superseded by #269 (same commit 8145b07e), now managed by forklift's stacked-PR workflow. Stacked on #268.

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