Bug 57344 - RFE: display of long user names in ls(1)
Summary: RFE: display of long user names in ls(1)
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 7.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2001-12-10 17:29 UTC by Steve Bonneville
Modified: 2007-03-27 03:50 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2001-12-10 17:29:16 UTC

Attachments (Terms of Use)

Description Steve Bonneville 2001-12-10 17:29:11 UTC
Right now, if you use `ls -l` to display files that are owned by a user
with a username longer than 8 characters, the displayed name is truncated
to 8 characters.  There's no indication the name has been truncated and/or
no way to display the full username.

Files owned by two users with similar names can be distinguished, but to
tell whether a file is owned by "longname" or "longnameuser", you'd have to
do an `ls -ln` and compare UIDs (or GIDs, since the same story is true for

It'd be a nice enhancement if ls could indicate if a long name was
truncated, or display long names if necessary (even if it involved a
special command-line option).

Comment 1 Bernhard Rosenkraenzer 2002-01-17 16:45:26 UTC
[root@spock root]# adduser microsoftsucks
[root@spock root]# touch foo
[root@spock root]# chown microsoftsucks foo
[root@spock root]# ls -l foo
-rw-r--r--    1 microsoftsucks root            0 Jan 17 17:37 foo
[root@spock root]# chgrp microsoftsucks foo
[root@spock root]# ls -l foo
-rw-r--r--    1 microsoftsucks microsoftsucks        0 Jan 17 17:37 foo
[root@spock root]# rpm -q fileutils

Note You need to log in before you can comment on or make changes to this bug.