You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Rocky Linux 8.9 Kerberos环境下NFS文件系统ACL配置问题咨询

Rocky Linux 8.9 Kerberos环境下NFS文件系统ACL配置问题咨询

我们公司全栈部署的是Rocky Linux 8.9(其实和RHEL 8.9基本一致),最近我接到任务,要调研通过NFS挂载的文件系统上的ACL配置,同时我们还在用FreeIPA/IdM做身份管理。

我搭了一台测试机,把它加入了IdM域,导出了一个NFS共享,然后本地挂载了这个共享,但ACL这块好像出问题了:

[root@example ~]# cat /etc/exports
/export/ *(rw,acl,no_root_squash)
[root@example ~]# mount | grep /export
localhost:/export on /mnt type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp6,timeo=600,retrans=2,sec=sys,clientaddr=::1,local_lock=none,addr=::1)
[root@example ~]# cd /mnt/
[root@example mnt]# touch testfile
[root@example mnt]# getfacl testfile
# file: testfile
# owner: root
# group: root
user::rw-
group::r--
other::r--
[root@example mnt]# setfacl -m u:user:r testfile 
setfacl: testfile: Operation not supported

我有几个问题:

  • 我是不是应该用getfacl和setfacl,而不是对应的nfs4_*工具?(原问题此处内容未完整输入)

备注:内容来源于stack exchange,提问作者bolind

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 10:45:26