Bug 57344 - RFE: display of long user names in ls(1)
Summary: RFE: display of long user names in ls(1)
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 7.2
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
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)

(edit)
Clone Of:
(edit)
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
groups).

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
fileutils-4.1.4-1



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