linux系统报permission denied(在挂载目录里创建文件报permission denied)错误的解决方法

 
 

分类: LINUX

安装了新的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
保存,关闭该文件。重启系统后正常。
posted @ 2021-10-26 11:02  痴迷的小和尚  阅读(1287)  评论(0编辑  收藏  举报