能够列出NFS挂载点内容的非root用户
适用场景
- ONTAP 9 及更高版本
- NFS
- UNIX安全模式卷
问题描述
非root用户可以在运行命令"ls -ltr
"时列出NFS挂载点的内容:
[user1@rhel_client Ontap_9_mount]# ls -ltr
total 4
drwxrwxrwx 2 root root 4096 Oct 10 20:27 qtree
-rwxrwxrwx 1 root root 0 Jan 6 2023 file21
-rwxrwxrwx 1 root root 0 Jan 6 2023 file234