- 论坛徽章:
- 5
|
问题就是setfacl nfs服务上的文件时一直报错,不知是何缘故,一直配置不成功
[root@centos2 mnt]# setfacl -m u:hg1:rw 1
setfacl: 1: 不支持的操作
192.168.1.190 nfs服务器配置:
1、export文件
/temp 192.168.1.0/24(rw,acl,no_root_squash)
2、文件系统支持acl:
#tune2fs -l /dev/mapper/vg_centos1-lv_root
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
3、在nfs 服务器本地可以设置acl
客户端:
[root@centos2 ~]# mount -o rw,acl -t nfs 192.168.1.190:/temp /mnt
[root@centos2 ~]# cd /mnt
[root@centos2 mnt]# setfacl -m u:hg1:rw 1 (有1这个文件)
setfacl: 1: 不支持的操作
|
|