操作系统信息
[root@pd selinux]# cat /etc/os-release
NAME="openEuler"
VERSION="22.03 (LTS-SP2)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP2)"
ANSI_COLOR="0;31"
[root@pd ~]# uname -a
Linux pd.lcj.cn 5.10.0-153.12.0.92.oe2203sp2.x86_64 #1 SMP Wed Jun 28 23:04:48 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
selinux 关闭
[root@pd selinux]# getenforce
Disabled
[root@pd selinux]# df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 4096 0 4096 0% /dev
tmpfs 3937880 1068 3936812 1% /dev/shm
tmpfs 1575156 16772 1558384 2% /run
tmpfs 4096 0 4096 0% /sys/fs/cgroup
/dev/vda2 38909276 4116028 32784572 12% /
tmpfs 3937884 4 3937880 1% /tmp
/dev/vda1 2092000 96872 1995128 5% /boot
/dev/vdb1 536607728 29454236 507153492 6% /data
/dev/loop0 17722652 17722652 0 100% /mnt
可以在/bin/中创建目录,但不能写入文件
[root@pd ~]# mkdir /bin/tk
[root@pd ~]# echo "a">/bin/tk1
-bash: /bin/tk1: Permission denied
硬盘信息
[root@pd ~]# cat /etc/fstab
UUID=xxxx-xxxx-xxxx-xxxx / ext4 defaults 0 0
UUID=-xxxx /boot vfat defaults 0 0
UUID=xxxxx-xxxx-xxx-xxx-xxxx /data xfs defaults 0 0
各位有遇到这种问题吗?需要怎么处理?