Phenomenon:
$ rsh coolnjmcl033 'ls -l /opt/cool/tools/lib/COOLvirtenv' ls: cannot access /opt/cool/tools/lib/COOLvirtenv: Permission denied
[root@coolnjmcl033 etc]# ls -l /opt/cool/tools/lib/COOLvirtenv -rwxr-xr-x. 1 cool cool 29852 Jul 22 03:16 /opt/cool/tools/lib/COOLvirtenv
According tohttp://www.redhat.com/archives/rhelv6-list/2010-December/msg00076.html,
From "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.
In order to make files located on one server can be accessied by other servers, SELinux should be disabled. In order to disable SELinux, refer to How to Disable SELinux.
本文介绍了一种在Linux系统中因SELinux导致的文件访问权限问题,并提供了详细的解决方案。通过禁用SELinux,可以确保服务器间文件的正常访问。

被折叠的 条评论
为什么被折叠?



