[OmniOS-discuss] Long group names in ls acl output

Paul B. Henson henson at acm.org
Tue Mar 3 20:58:03 UTC 2015


> Nathan Huff
> Sent: Tuesday, March 03, 2015 7:41 AM
>
> domain that are longer than the 20 characters.  Looking at the ls man
> page and source code I don't think there is an option to display either
> a longer string or the uid/gid instead.

$ uname -a
SunOS storage 5.11 omnios-10b9c79 i86pc i386 i86pc

$ man ls
[...]
       -n, --numeric-uid-gid
              like -l, but list numeric user and group IDs

$ cd / ; ls -n
total 535
lrwxrwxrwx   1 0 0      9 Sep  2  2013 bin -> ./usr/bin
drwxr-xr-x   6 0 3      9 Sep  2  2013 boot
drwxr-xr-x 238 0 3    238 Jan 20 16:09 dev
drwxr-xr-x   9 0 3      9 Jan 20 16:08 devices
drwxr-xr-x  63 0 3    207 Jan 20 16:09 etc
drwxr-xr-x   7 0 0      7 Dec 14 20:06 export
dr-xr-xr-x   2 0 0      2 Aug 14  2013 home
drwxr-xr-x  18 0 3     19 Dec 20 18:00 kernel
drwxr-xr-x  10 0 2    180 Jan 16 18:42 lib
drwxr-xr-x   2 0 0      3 Sep  2  2013 media
drwxr-xr-x   2 0 3      2 Sep  2  2013 mnt
dr-xr-xr-x   2 0 0      2 Sep  2  2013 net
drwxr-xr-x   3 0 3      3 Dec 20 17:49 opt
drwxr-xr-x   5 0 3      5 Aug 14  2013 platform
dr-xr-xr-x 128 0 0 480032 Mar  3 12:53 proc
drwx------   3 0 0      7 Dec 20 20:45 root
drwxr-xr-x   3 0 0      3 Sep  2  2013 rpool
drwxr-xr-x   2 0 3     62 Nov 24 10:34 sbin
drwxr-xr-x   5 0 0      5 Aug 14  2013 system
drwxrwxrwt   3 0 3    242 Mar  3 12:50 tmp
drwxr-xr-x  29 0 3     41 Nov 24 10:34 usr
drwxr-xr-x  35 0 3     35 Nov  8  2013 var
drwxr-xr-x   4 0 0      4 Dec 20 20:46 zones





More information about the OmniOS-discuss mailing list