使用NFS v4.x带内安全并对ONTAP挂载进行匿名访问
适用场景
- ONTAP 9
- NFS 4.1
- NFS 4.2
问题描述
- 运行NFSv4.1客户端命令
ls -l
(或ll
)时,用户和组显示错误,99
如下所示:
centos01$ ls -al mydir/ total 8 drwxr-xr-x. 2 99 99 4096 Jul 22 07:33 . drwxrwxrwx. 4 99 99 4096 Jul 22 07:33 .. -rw-r--r--. 1 99 99 0 Jul 22 07:33 foo
- 根卷导出已
Superuser Security Types
设置为none
::> export-policy rule show -vserver SVM -inst
Vserver: SVM
Policy Name: default
Rule Index: 1
Access Protocol: nfs
List of Client Match Hostnames, IP Addresses, Netgroups, or Domains: 0.0.0.0/0
RO Access Rule: any
RW Access Rule: any
User ID To Which Anonymous Users Are Mapped: 65534
Superuser Security Types: none
Honor SetUID Bits in SETATTR: true
Allow Creation of Devices: true
- NFS权限不能
chmod
由 任何用户更改、因为此文件属于匿名用户