nfs4_setfacl reports error on files of mounted folder

General support questions
Post Reply
xq10907
Posts: 27
Joined: 2017/08/08 03:33:41

nfs4_setfacl reports error on files of mounted folder

Post by xq10907 » 2018/03/02 09:28:03

Hey guys, sorry to bother you again

I mount a nfsv4 folder via command

Code: Select all

sudo mount -t nfs -o v4.0,sec=krb5 ark-centos7-ker.qa.arkivio.com:/export/nfs1 /nfs4-mnt-dir

create a file via: touch 11,then set file's acl get failed with command

Code: Select all

[auto-stor@qa.arkivio.com@ark-centos-smb4 ~]$ sudo nfs4_setfacl -a A::auto-stor@qa.arkivio.com:rxtncy /nfs4-mnt-dir/11
[sudo] password for auto-stor@qa.arkivio.com:
Failed setxattr operation: Invalid argument
it seems complaining the parameter auto-stor@qa.arkivio.com is invalid,but this user is already recognized by both nfs4 client,server

Code: Select all

[auto-stor@qa.arkivio.com@ark-centos-smb4 ~]$ getent passwd auto-stor@qa.arkivio.com
auto-stor@qa.arkivio.com:*:1712401226:1712400513:auto-stor:/home/auto-stor@qa.arkivio.com:/bin/bash
[auto-stor@qa.arkivio.com@ark-centos-smb4 ~]$ id auto-stor@qa.arkivio.com
uid=1712401226(auto-stor@qa.arkivio.com) gid=1712400513(domain users@qa.arkivio.com) groups=1712400513(domain users@qa.a rkivio.com),10(wheel),1712439592(autostoradmins@qa.arkivio.com),1712439438(certsvc_dcom_access@qa.arkivio.com),171243989 6(passwordpropdeny@qa.arkivio.com),1712400512(domain admins@qa.arkivio.com),1712439802(ats_steph_testgroup@qa.arkivio.co m)
any idea what is missing in my configuration?
thanks

Post Reply