Skip to content

ls: track permissions column width independently#12411

Open
sylvestre wants to merge 1 commit into
uutils:mainfrom
sylvestre:issue-11790
Open

ls: track permissions column width independently#12411
sylvestre wants to merge 1 commit into
uutils:mainfrom
sylvestre:issue-11790

Conversation

@sylvestre
Copy link
Copy Markdown
Contributor

Replace the has_alt_access boolean (which widened the link-count column to reserve space for the ACL/context indicator) with a permissions field on PaddingCollection, so each column owns its own width.

Also make ACL detection in the padding-calculation pass use item.path() to match the render path (previously used item.display_name()).

Refs #11790

Replace the `has_alt_access` boolean (which widened the link-count column
to reserve space for the ACL/context indicator) with a `permissions`
field on `PaddingCollection`, so each column owns its own width.

Also make ACL detection in the padding-calculation pass use `item.path()`
to match the render path (previously used `item.display_name()`).

Refs uutils#11790
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/cut/cut-huge-range is now passing!

@sylvestre sylvestre marked this pull request as ready for review May 21, 2026 09:21
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