欢迎各位兄弟 发布技术文章
这里的技术是共享的

是ACL类型,(.)点是ACL_T_SELINUX_ONLY, (+)加是ACL_T_YES,空白是没有ACL。
ACL 是访问控制列表Access Control List
参考:
ls工具部分代码:
/* Compute the mode string, except remove the trailing space if no
file in this directory has an ACL or SELinux security context. */
if (f->stat_ok)
filemodestring (&f->stat, modebuf);
else
{
modebuf[0] = filetype_letter[f->filetype];
memset (modebuf + 1, '?', 10);
modebuf[11] = '\0';
}
if (! any_has_acl)
modebuf[10] = '\0';
else if (f->acl_type == ACL_T_SELINUX_ONLY)
modebuf[10] = '.';
else if (f->acl_type == ACL_T_YES)
modebuf[10] = '+';