Print this page
NEX-1767 ls is unable to display SIDs
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/ls.1.man.txt
          +++ new/usr/src/man/man1/ls.1.man.txt
↓ open down ↓ 672 lines elided ↑ open up ↑
 673  673         -m
 674  674  
 675  675             Streams output format. Files are listed across the page, separated
 676  676             by commas.
 677  677  
 678  678  
 679  679         -n
 680  680         --numeric-uid-gid
 681  681  
 682  682             The same as -l, except that the owner's UID and group's GID numbers
 683      -           are printed, rather than the associated character strings.
      683 +           are printed, rather than the associated character strings. Files
      684 +           for which owner and/or group is a Windows Security Identifier
      685 +           (SID), -n suppresses any lookups for the Windows Name string and
      686 +           prints only the raw SID.  Moreover, a second instance of this flag
      687 +           (-nn) can be used to further suppress idmapd(1M) lookups of the
      688 +           file's owner and/or group SID, thus forcing ls into printing the
      689 +           raw ephemeral numeric identifiers.
 684  690  
 685  691  
 686  692         -o
 687  693         --no-group
 688  694  
 689  695             The same as -l, except that the group is not printed.
 690  696  
 691  697  
 692  698         -p
 693  699  
↓ open down ↓ 1019 lines elided ↑ open up ↑
1713 1719         For all options except -A, -b, -e, -E, -h, -S, U -v, -V, -@, -/, -%,
1714 1720         --all, --almost-all, --block-size, --classify, --color, --colour,
1715 1721         --dereference, --dereference-command-line, --escape, --file-type,
1716 1722         --full-time, --human-readable, --ignore-backups, --inode, --no-group,
1717 1723         --numeric-uid-gid, --reverse, --recursive, --si, --size, and --time-
1718 1724         style, see standards(5).
1719 1725  
1720 1726  SEE ALSO
1721 1727         chmod(1), cp(1), setfacl(1), fgetattr(3C), strftime(3C), terminfo(4),
1722 1728         acl(5), attributes(5), environ(5), fsattr(5), largefile(5),
1723      -       standards(5)
     1729 +       standards(5), idmapd(1M)
1724 1730  
1725 1731  NOTES
1726 1732         Unprintable characters in file names can confuse the columnar output
1727 1733         options.
1728 1734  
1729 1735  
1730 1736         The total block count is incorrect if there are hard links among the
1731 1737         files.
1732 1738  
1733 1739  
1734 1740         The sort order of ls output is affected by the locale and can be
1735 1741         overridden by the LC_COLLATE environment variable. For example, if
1736 1742         LC_COLLATE equals C, dot files appear first, followed by names
1737 1743         beginning with upper-case letters, then followed by names beginning
1738 1744         with lower-case letters. But if LC_COLLATE equals en_US.ISO8859-1, then
1739 1745         leading dots as well as case are ignored in determining the sort order.
1740 1746  
1741 1747  
     1748 +       For additional information regarding Windows Security Identifiers,
     1749 +       consult Microsoft support document, Well-known security identifiers in
     1750 +       Windows operating systems, which can be found at Microsoft's support
     1751 +       site: https://support.microsoft.com/en-us/kb/243330/.
1742 1752  
1743      -                               November 24, 2014                         LS(1)
     1753 +
     1754 +
     1755 +                                 July 1, 2016                            LS(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX