Dell EMC Unity: NFSv4-eksport – setfacl: Operasjonen støttes ikke (kan korrigeres av brukeren)

Summary: Kan ikke kjøre setfacl på Unity NFSv4-eksport.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Når du prøver å utstede en setfacl-kommando på en Linux-vert mot en fil eller katalog i en montert Unity NFSv4-eksport, mislykkes kommandoen:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



Cause

setfacl fungerer ikke med NFSv4.

Resolution

Du må bruke nfs4-getfacl/nfs4-setfacl-kommandoene på NFSv4-monteringen. Setfacl fungerer ikke med NFSv4.

Hvis du vil gjøre disse kommandoene tilgjengelige, må du installere pakken "nfs4-acl-tools package" (nfs4-acl-tools-pakke).

Eksempel på Debian-baserte distribusjoner (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]#

Affected Products

Dell EMC Unity, VNX/VNXe
Article Properties
Article Number: 000196295
Article Type: Solution
Last Modified: 02 Dec 2022
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.