Dell EMC Unity: NFSv4-eksport – setfacl: Handlingen understøttes ikke (kan rettes af brugeren)

Riepilogo: Kunne ikke køre setfacl på Unity NFSv4-eksport.

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

Når du forsøger at udstede en setfacl-kommando på en Linux-vært mod en fil eller mappe i en tilsluttet Unity NFSv4-eksport, mislykkes kommandoen:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



Causa

setfacl virker ikke med NFSv4.

Risoluzione

Du skal bruge nfs4-getfacl-/nfs4-setfacl-kommandoerne på NFSv4-tilslutningen. Setfacl virker ikke med NFSv4.

For at gøre disse kommandoer tilgængelige er det nødvendigt at installere pakken "nfs4-acl-tools package".

Eksempel på Debian-baserede distro'er (Debian, Ubuntu, Linux Mint osv.):
[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]#

Prodotti interessati

Dell EMC Unity, VNX/VNXe
Proprietà dell'articolo
Numero articolo: 000196295
Tipo di articolo: Solution
Ultima modifica: 02 dic 2022
Versione:  3
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.