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>

@@ -678,11 +678,17 @@
 
        -n
        --numeric-uid-gid
 
            The same as -l, except that the owner's UID and group's GID numbers
-           are printed, rather than the associated character strings.
+           are printed, rather than the associated character strings. Files
+           for which owner and/or group is a Windows Security Identifier
+           (SID), -n suppresses any lookups for the Windows Name string and
+           prints only the raw SID.  Moreover, a second instance of this flag
+           (-nn) can be used to further suppress idmapd(1M) lookups of the
+           file's owner and/or group SID, thus forcing ls into printing the
+           raw ephemeral numeric identifiers.
 
 
        -o
        --no-group
 

@@ -1718,11 +1724,11 @@
        style, see standards(5).
 
 SEE ALSO
        chmod(1), cp(1), setfacl(1), fgetattr(3C), strftime(3C), terminfo(4),
        acl(5), attributes(5), environ(5), fsattr(5), largefile(5),
-       standards(5)
+       standards(5), idmapd(1M)
 
 NOTES
        Unprintable characters in file names can confuse the columnar output
        options.
 

@@ -1737,7 +1743,13 @@
        beginning with upper-case letters, then followed by names beginning
        with lower-case letters. But if LC_COLLATE equals en_US.ISO8859-1, then
        leading dots as well as case are ignored in determining the sort order.
 
 
+       For additional information regarding Windows Security Identifiers,
+       consult Microsoft support document, Well-known security identifiers in
+       Windows operating systems, which can be found at Microsoft's support
+       site: https://support.microsoft.com/en-us/kb/243330/.
 
-                               November 24, 2014                         LS(1)
+
+
+                                 July 1, 2016                            LS(1)