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>
*** 41,53 ****
.\"
.\"
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
! .\" Copyright 2014 Nexenta Systems, Inc. All Rights Reserved.
.\"
! .TH LS 1 "Nov 24, 2014"
.SH NAME
ls \- list contents of directory
.SH SYNOPSIS
.LP
.nf
--- 41,53 ----
.\"
.\"
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
! .\" Copyright 2016 Nexenta Systems, Inc. All Rights Reserved.
.\"
! .TH LS 1 "Jul 01, 2016"
.SH NAME
ls \- list contents of directory
.SH SYNOPSIS
.LP
.nf
*** 1186,1196 ****
\fB\fB--numeric-uid-gid\fR\fR
.ad
.sp .6
.RS 4n
The same as \fB-l\fR, except that the owner's \fBUID\fR and group's \fBGID\fR
! numbers are printed, rather than the associated character strings.
.RE
.sp
.ne 2
.na
--- 1186,1201 ----
\fB\fB--numeric-uid-gid\fR\fR
.ad
.sp .6
.RS 4n
The same as \fB-l\fR, except that the owner's \fBUID\fR and group's \fBGID\fR
! numbers are printed, rather than the associated character strings. Files for
! which owner and/or group is a Windows Security Identifier (\fBSID\fR), \fB-n\fR
! suppresses any lookups for the Windows Name string and prints only the raw SID.
! Moreover, a second instance of this flag (\fB-nn\fR) can be used to further
! suppress \fBidmapd\fR(1M) lookups of the file's owner and/or group SID, thus
! forcing \fBls\fR into printing the raw ephemeral numeric identifiers.
.RE
.sp
.ne 2
.na
*** 2815,2825 ****
\fB--size\fR, and \fB--time-style\fR, see \fBstandards\fR(5).
.SH SEE ALSO
.LP
\fBchmod\fR(1), \fBcp\fR(1), \fBsetfacl\fR(1), \fBfgetattr\fR(3C),
\fBstrftime\fR(3C), \fBterminfo\fR(4), \fBacl\fR(5), \fBattributes\fR(5),
! \fBenviron\fR(5), \fBfsattr\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5)
.SH NOTES
.LP
Unprintable characters in file names can confuse the columnar output options.
.sp
.LP
--- 2820,2831 ----
\fB--size\fR, and \fB--time-style\fR, see \fBstandards\fR(5).
.SH SEE ALSO
.LP
\fBchmod\fR(1), \fBcp\fR(1), \fBsetfacl\fR(1), \fBfgetattr\fR(3C),
\fBstrftime\fR(3C), \fBterminfo\fR(4), \fBacl\fR(5), \fBattributes\fR(5),
! \fBenviron\fR(5), \fBfsattr\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5),
! \fBidmapd\fR(1M)
.SH NOTES
.LP
Unprintable characters in file names can confuse the columnar output options.
.sp
.LP
*** 2830,2834 ****
--- 2836,2845 ----
overridden by the \fBLC_COLLATE\fR environment variable. For example, if
\fBLC_COLLATE\fR equals \fBC\fR, dot files appear first, followed by names
beginning with upper-case letters, then followed by names beginning with
lower-case letters. But if \fBLC_COLLATE\fR equals \fBen_US.ISO8859-1\fR, then
leading dots as well as case are ignored in determining the sort order.
+ .sp
+ .LP
+ For additional information regarding Windows Security Identifiers, consult
+ Microsoft support document, \fIWell-known security identifiers in Windows
+ operating systems\fR, which can be found at Microsoft's support site: https://support.microsoft.com/en-us/kb/243330/.