Dell EMC Unity: NFSv4 export - setfacl: Operation not supported (User Correctable)

Resumo: Unable to run setfacl on Unity NFSv4 export.

Este artigo aplica-se a Este artigo não se aplica a Este artigo não está vinculado a nenhum produto específico. Nem todas as versões do produto estão identificadas neste artigo.

Sintomas

When trying to issue a setfacl command on a Linux host against a file or directory in a mounted Unity NFSv4 export, the command fails:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



Causa

setfacl does not work with NFSv4.

Resolução

You need to use the nfs4-getfacl / nfs4-setfacl commands on NFSv4 mount.The setfacl does not work with NFSv4.

To make these commands available, installation of the package "nfs4-acl-tools package" is required.

Example for Debian-based distros ( Debian, Ubuntu, Linux Mint etc.):
[root@hostname xyz]#apt-get install nfs4-acl-tools
[root@hostname xyz]#

[root@hostname xyz]#mount
192.168.1.14:/Test on /tmp/nfs type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.15,local_lock=none,addr=192.168.1.14)
[root@hostname xyz]#

 [root@hostname xyz]#nfs4_setfacl -R -a A:g:10001:rW /tmp/nfs

 [root@hostname xyz]#nfs4_getfacl /tmp/nfs
A:g:10001:rwaDtTNcCy
A:g:10001:rwaDtTNcCy
A:g:10001:rwaDtTNcCy
A::OWNER@:rwaDxtTnNcCy
A:g:GROUP@:rxtncy
A::EVERYONE@:rxtncy
 [root@hostname xyz]#

Produtos afetados

Dell EMC Unity, VNX/VNXe
Propriedades do artigo
Número do artigo: 000196295
Tipo de artigo: Solution
Último modificado: 02 dez. 2022
Versão:  3
Encontre as respostas de outros usuários da Dell para suas perguntas.
Serviços de suporte
Verifique se o dispositivo está coberto pelos serviços de suporte.