ls command, '+' for ACLs

Casey Schaufler casey at sgi.com
Fri Oct 15 23:06:51 GMT 1999


Andreas Gruenbacher wrote:

> 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

I assume you really mean:

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

The latter. Interestingly, if there's no ACL it should be

-rw-r--r-- 9999 root     root            0 Oct 16 00:06 w
-rw-r--r-- 11111 root     root            0 Oct 16 00:06 lotsolinks

The 11th character is a blank if there's no ACL,
a plus if there is one.

-- 

Casey Schaufler                         voice: (650) 933-1634
casey at sgi.com                           fax:   (650) 933-0170
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