安装了新的ufs_kernel,挂载ufs盘,在挂载目录里创建文件报permission denied,以下就是解决它的办法:
编辑/etc/selinux/config,找到这段:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
把 SELINUX=enforcing 注释掉:#SELINUX=enforcing ,然后新加一行为:
SELINUX=disabled
保存,关闭该文件。重启系统后正常。
阅读(16088) | 评论(0) | 转发(0) |