我们有脚本查看ls -l输出的输出,以获取最近在RHEL v6系统上失败的权限信息,这些信息似乎显示了额外的内容.在之前不曾存在的权限条目的末尾:
[root@rhel6vm ~]# ls -l total 44 -rw-------. 1 root root 1399 Aug 17 15:01 anaconda-ks.cfg -rw-r--r--. 1 root root 25485 Aug 17 15:01 install.log -rw-r--r--. 1 root root 7253 Aug 17 14:59 install.log.syslog [root@rhel6vm ~]# ^ | up there
句号意味着什么?还有什么可以出现在它的位置?
解决方法
info ls显示:
Following the file mode bits is a single character that specifies whether an alternate access method such as an access control list applies to the file. When the character following the file mode bits is a space,there is no alternate access method. When it is a printing character,then there is such a method. GNU `ls' uses a `.' character to indicate a file with an SELinux security context,but no other alternate access method. A file with any other combination of alternate access methods is marked with a `+' character.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。