[Bug 2154338] Re: xattrs break ls formatting

Simon Johnsson 2154338 at bugs.launchpad.net
Fri May 29 11:50:25 UTC 2026


** Project changed: coreutils => rust-coreutils

** Package changed: coreutils (Ubuntu) => rust-coreutils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2154338

Title:
  xattrs break ls formatting

Status in rust-coreutils:
  Fix Released
Status in rust-coreutils package in Ubuntu:
  Triaged

Bug description:
  Directories with a larger number of files using extended file
  attributes (xattrs) break --long formatting of ls.

  ## Reproduce

  1. Create the directory:

  mkdir -p /tmp/uutils-ls-xattr-repro
  cd /tmp/uutils-ls-xattr-repro

  2. Create the files:

  for i in $(seq -w 1 500); do
    touch "file-$i"
    setfattr -n user.test -v 'Hello World' "file-$i"
  done

  3. List the directory:

  ls -l .

  4. Output:

                                                                                                                          -rw-rw-r--+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     1 bamf0 bamf0     0 May 27 09:35 file-001
  -rw-rw-r--+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     1 bamf0 bamf0     0 May 27 09:35 file-002
  -rw-rw-r--+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     1 bamf0 bamf0     0 May 27 09:35 file-003

  (Every file attribute after the permissions will be right-aligned)

To manage notifications about this bug go to:
https://bugs.launchpad.net/rust-coreutils/+bug/2154338/+subscriptions





More information about the foundations-bugs mailing list