ls command, '+' for ACLs

Andreas Gruenbacher a.gruenbacher at infosys.tuwien.ac.at
Fri Oct 15 22:39:12 GMT 1999


In section 4.39.2 in the Draft Standard 17 it says:

4.39.2 ls  -- List directory contents -- Description (POSIX.2: line 6024)
Insert the following sentence after line 6024 in Section 4.39.6.1:

If {_POSIX_ACL} is defined and {_POSIX_ACL_EXTENDED} is in effect for c
the file, then the <optional alternate access method flag> shall be a plus sign
(''+'').


Currently I generate this:

-rw-r--r--   1 root     root            0 Oct 16 00:06 x
-rw-r--r--+  1 root     root            0 Oct 16 00:06 y
-rw-r--r--   1 root     root            0 Oct 16 00:06 z

If a file's link count exceeds 999, what is the preferred was to display that:

-rw-r--r--+ 999 root     root            0 Oct 16 00:06 y
-rw-r--r--+999 root     root            0 Oct 16 00:06 z


Thanks,
Andreas

------------------------------------------------------------------------
 Andreas Gruenbacher, Vienna University of Technology
 a.gruenbacher at infosys.tuwien.ac.at
 Contact information: http://www.infosys.tuwien.ac.at/~agruenba
To Unsubscribe: send mail to majordomo at cyrus.watson.org
with "unsubscribe posix1e" in the body of the message



More information about the posix1e mailing list