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:
parent
9ef0e425f3
commit
bab43bab0c
@ -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 ,
|
||||
|
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user