Re: [Nfs-ganesha-devel] ACL support

2018-02-22 Thread J. Bruce Fields
On Thu, Feb 22, 2018 at 06:18:52AM -0800, Frank Filz wrote: > Ah, that might be an issue. It’s hard to gets POSIX<->NFS V4 ACL > conversion as best as possible (again, impossible to make it perfect, > even for POSIX->NFS V4). Well, POSIX->NFSv4 should be very close to perfect. (Name mapping might

Re: [Nfs-ganesha-devel] ACL support

2018-02-22 Thread Frank Filz
Frank From: Sagar M D [mailto:sagar...@gmail.com] Sent: Wednesday, February 21, 2018 10:12 PM To: Sriram Patil Cc: Frank Filz ; Supriti Singh ; nfs-ganesha-devel@lists.sourceforge.net Subject: Re: [Nfs-ganesha-devel] ACL support Hi, Kernel nfs reorders the ACE in ACL and i thin

Re: [Nfs-ganesha-devel] ACL support

2018-02-21 Thread Sagar M D
, then you will need the translation >> code from FSAL_GLUSTER (or write your own). >> >> >> >> I’d also like to add my usual plug, if you have an out of tree FSAL, we >> encourage you to submit your FSAL into the tree. That allows us a better >> u

Re: [Nfs-ganesha-devel] ACL support

2018-02-19 Thread Sagar M D
You can > find these commands in nfs4-acl-tools package. > > > > - Sriram > > > > *From: *Sagar M D > *Date: *Friday, February 16, 2018 at 3:20 PM > *To: *Supriti Singh > *Cc: *"nfs-ganesha-devel@lists.sourceforge.net" sourceforge.net> > *Subje

Re: [Nfs-ganesha-devel] ACL support

2018-02-19 Thread Sriram Patil
vel@lists.sourceforge.net" Subject: RE: [Nfs-ganesha-devel] ACL support It isn’t quite true that NFS v4 ACLs are a superset of POSIX ACLs, but that’s another detail. Sriram is right, Ganesha doesn’t support the NFS v3 sideband protocol for POSIX ACLs. At this point Ganesha has the following s

Re: [Nfs-ganesha-devel] ACL support

2018-02-19 Thread Sagar M D
>fsal_check_access_acl. > > > > - Sriram > > > > *From: *Frank Filz > *Date: *Friday, February 16, 2018 at 8:19 PM > *To: *Sriram Patil , 'Sagar M D' , > 'Supriti Singh' > *Cc: *"nfs-ganesha-devel@lists.sourceforge.net" sou

Re: [Nfs-ganesha-devel] ACL support

2018-02-18 Thread Frank Filz
; Supriti Singh Cc: nfs-ganesha-devel@lists.sourceforge.net Subject: Re: [Nfs-ganesha-devel] ACL support 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

Re: [Nfs-ganesha-devel] ACL support

2018-02-16 Thread Sriram Patil
From: Sagar M D Date: Friday, February 16, 2018 at 3:20 PM To: Supriti Singh 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 h

Re: [Nfs-ganesha-devel] ACL support

2018-02-16 Thread Sagar M D
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 { Export_Id = 77; # Exported path (mandatory) Path = /home; # Pseudo Path (r

Re: [Nfs-ganesha-devel] ACL support

2018-02-16 Thread Sagar M D
Supriti, We are testing our own FSAL. Thanks, Sagar. On Fri, Feb 16, 2018 at 2:15 PM, Supriti Singh 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

Re: [Nfs-ganesha-devel] ACL support

2018-02-16 Thread Supriti Singh
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 02/16/18 9:15 AM >>> Hi, We are setting below value in our EXPORT block to enable ACL. Disable_ACL = FALSE; However w

[Nfs-ganesha-devel] ACL support

2018-02-16 Thread Sagar M D
Hi, 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 exp