[Bug 2154338] [NEW] xattrs break ls formatting

Launchpad Bug Tracker 2154338 at bugs.launchpad.net
Fri May 29 11:50:36 UTC 2026


You have been subscribed to a public bug:

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)

** Affects: rust-coreutils
     Importance: Unknown
         Status: Fix Released

** Affects: rust-coreutils (Ubuntu)
     Importance: High
     Assignee: Simon Johnsson (bamf0)
         Status: Triaged

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




More information about the foundations-bugs mailing list