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
          +++ new/usr/src/man/man1/ls.1
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  .\" When distributing Covered Code, include this CDDL HEADER in each
  37   37  .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  38   38  .\" If applicable, add the following below this CDDL HEADER, with the
  39   39  .\" fields enclosed by brackets "[]" replaced with your own identifying
  40   40  .\" information: Portions Copyright [yyyy] [name of copyright owner]
  41   41  .\"
  42   42  .\"
  43   43  .\" Copyright 1989 AT&T
  44   44  .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
  45   45  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
  46      -.\" Copyright 2014 Nexenta Systems, Inc.  All Rights Reserved.
       46 +.\" Copyright 2016 Nexenta Systems, Inc.  All Rights Reserved.
  47   47  .\"
  48      -.TH LS 1 "Nov 24, 2014"
       48 +.TH LS 1 "Jul 01, 2016"
  49   49  .SH NAME
  50   50  ls \- list contents of directory
  51   51  .SH SYNOPSIS
  52   52  .LP
  53   53  .nf
  54   54  \fB/usr/bin/ls\fR [\fB-aAbcCdeEfFghHiklLmnopqrRsStuUwvVx1@\fR]
  55   55       [\fB-/ c\fR | \fBv\fR] [\fB-% atime | crtime | ctime | mtime | all\fR]
  56   56       [--block-size size] [--color[=\fIwhen\fR]] [--file-type]
  57   57       [--si] [--time-style \fIstyle\fR] [\fIfile\fR]...
  58   58  .fi
↓ open down ↓ 1122 lines elided ↑ open up ↑
1181 1181  .na
1182 1182  \fB\fB-n\fR\fR
1183 1183  .ad
1184 1184  .br
1185 1185  .na
1186 1186  \fB\fB--numeric-uid-gid\fR\fR
1187 1187  .ad
1188 1188  .sp .6
1189 1189  .RS 4n
1190 1190  The same as \fB-l\fR, except that the owner's \fBUID\fR and group's \fBGID\fR
1191      -numbers are printed, rather than the associated character strings.
     1191 +numbers are printed, rather than the associated character strings. Files for
     1192 +which owner and/or group is a Windows Security Identifier (\fBSID\fR), \fB-n\fR
     1193 +suppresses any lookups for the Windows Name string and prints only the raw SID.
     1194 +Moreover, a second instance of this flag (\fB-nn\fR) can be used to further
     1195 +suppress \fBidmapd\fR(1M) lookups of the file's owner and/or group SID, thus
     1196 +forcing \fBls\fR into printing the raw ephemeral numeric identifiers.
1192 1197  .RE
1193 1198  
1194 1199  .sp
1195 1200  .ne 2
1196 1201  .na
1197 1202  \fB\fB-o\fR\fR
1198 1203  .ad
1199 1204  .br
1200 1205  .na
1201 1206  \fB\fB--no-group\fR\fR
↓ open down ↓ 1608 lines elided ↑ open up ↑
2810 2815  \fB--almost-all\fR, \fB--block-size\fR, \fB--classify\fR, \fB--color\fR,
2811 2816  \fB--colour\fR, \fB--dereference\fR, \fB--dereference-command-line\fR,
2812 2817  \fB--escape\fR, \fB--file-type\fR, \fB--full-time\fR, \fB--human-readable\fR,
2813 2818  \fB--ignore-backups\fR, \fB--inode\fR, \fB--no-group\fR,
2814 2819  \fB--numeric-uid-gid\fR, \fB--reverse\fR, \fB--recursive\fR, \fB--si\fR,
2815 2820  \fB--size\fR, and \fB--time-style\fR, see \fBstandards\fR(5).
2816 2821  .SH SEE ALSO
2817 2822  .LP
2818 2823  \fBchmod\fR(1), \fBcp\fR(1), \fBsetfacl\fR(1), \fBfgetattr\fR(3C),
2819 2824  \fBstrftime\fR(3C), \fBterminfo\fR(4), \fBacl\fR(5), \fBattributes\fR(5),
2820      -\fBenviron\fR(5), \fBfsattr\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5)
     2825 +\fBenviron\fR(5), \fBfsattr\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5),
     2826 +\fBidmapd\fR(1M)
2821 2827  .SH NOTES
2822 2828  .LP
2823 2829  Unprintable characters in file names can confuse the columnar output options.
2824 2830  .sp
2825 2831  .LP
2826 2832  The total block count is incorrect if there are hard links among the files.
2827 2833  .sp
2828 2834  .LP
2829 2835  The sort order of \fBls\fR output is affected by the locale and can be
2830 2836  overridden by the \fBLC_COLLATE\fR environment variable. For example, if
2831 2837  \fBLC_COLLATE\fR equals \fBC\fR, dot files appear first, followed by names
2832 2838  beginning with upper-case letters, then followed by names beginning with
2833 2839  lower-case letters. But if \fBLC_COLLATE\fR equals \fBen_US.ISO8859-1\fR, then
2834 2840  leading dots as well as case are ignored in determining the sort order.
     2841 +.sp
     2842 +.LP
     2843 +For additional information regarding Windows Security Identifiers, consult
     2844 +Microsoft support document, \fIWell-known security identifiers in Windows
     2845 +operating systems\fR, which can be found at Microsoft's support site: https://support.microsoft.com/en-us/kb/243330/.
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX