Hi Sagar,

I see in your conf file that you are using NFSv4. POSIX acls do not work on 
NFSv4. NFSv4 acls are a superset of POSIX acls. For using NFSv4 acls you need 
to use nfs4_getfacl and nfs4_setfacl commands from the client. You can find 
these commands in nfs4-acl-tools package.

- Sriram

From: Sagar M D <sagar...@gmail.com>
Date: Friday, February 16, 2018 at 3:20 PM
To: Supriti Singh <supriti.si...@suse.com>
Cc: "nfs-ganesha-devel@lists.sourceforge.net" 
Subject: Re: [Nfs-ganesha-devel] ACL support

I quickly checked on VFS FSAL using below EXPORT block. I see same issue on vfs 
fsal also. Any suggestion here please ?

Operation to request attribute not supported.
Failed to instantiate ACL.

        Export_Id = 77;

# Exported path (mandatory)
        Path = /home;

# Pseudo Path (required for NFS v4)
        Pseudo = /home;

# Required for access (default is None)
# Could use CLIENT blocks instead
        Access_Type = RW;
        Disable_ACL = FALSE;
        NFS_Protocols = 4;
        Squash = no_root_squash;

# Exporting FSAL
        FSAL {
                Name = VFS;

On Fri, Feb 16, 2018 at 2:25 PM, Sagar M D 
<sagar...@gmail.com<mailto:sagar...@gmail.com>> wrote:

We are testing our own FSAL.

On Fri, Feb 16, 2018 at 2:15 PM, Supriti Singh 
<supriti.si...@suse.com<mailto:supriti.si...@suse.com>> wrote:
Hi Sagar,

Which FSAL are you using?

Supriti Singh
SUSE Linux GmbH, GF: Felix Imend├Ârffer, Jane Smithard, Graham Norton,
HRB 21284 (AG N├╝rnberg)

>>> Sagar M D <sagar...@gmail.com<mailto:sagar...@gmail.com>> 02/16/18 9:15 AM 
>>> >>>

We are setting below value in our EXPORT block to enable ACL.
Disable_ACL = FALSE;
However when try to do any ACL operation it throws get below error:-
Operation to request attribute not supported.
Failed to instantiate ACL.
On further analysis, i found that getattr call on our fsal  export's root 
folder is returning 3 (ALLOW | DENY) in aclsupport field. But getattr call on 
pseudo export is returning "0" in aclsupport field.

Is there anything else in fsal to be taken care to enable acls ?


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Nfs-ganesha-devel mailing list

Reply via email to