There is no way for strmode(3) to append '+' if the file has ACL,

because there is no way to figure that out based on the file mode
itself.  Make the manual page match reality.
This commit is contained in:
Edward Tomasz Napierala 2009-04-14 11:39:56 +00:00
parent 9ef0e425f3
commit bab43bab0c
2 changed files with 2 additions and 4 deletions

View File

@ -128,9 +128,7 @@ The file is executable or the directory is searchable.
None of the above apply.
.El
.Pp
The last character is a plus sign ``+'' if any there are any alternate
or additional access control methods associated with the inode, otherwise
it will be a space.
The last character will always be a space.
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr find 1 ,

View File

@ -143,6 +143,6 @@ strmode(/* mode_t */ int mode, char *p)
*p++ = 't';
break;
}
*p++ = ' '; /* will be a '+' if ACL's implemented */
*p++ = ' ';
*p = '\0';
}