* NFSv4.1 ACL reference implementation @ 2014-07-29 19:18 McEvoy, James 2014-07-29 21:09 ` J. Bruce Fields 0 siblings, 1 reply; 6+ messages in thread From: McEvoy, James @ 2014-07-29 19:18 UTC (permalink / raw) To: linux-nfs@vger.kernel.org Is there a working NFSv4.1 reference implementation available and are there any instructs on how to build/install it? --jim ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFSv4.1 ACL reference implementation 2014-07-29 19:18 NFSv4.1 ACL reference implementation McEvoy, James @ 2014-07-29 21:09 ` J. Bruce Fields 2014-07-30 17:08 ` McEvoy, James 0 siblings, 1 reply; 6+ messages in thread From: J. Bruce Fields @ 2014-07-29 21:09 UTC (permalink / raw) To: McEvoy, James; +Cc: linux-nfs@vger.kernel.org On Tue, Jul 29, 2014 at 07:18:03PM +0000, McEvoy, James wrote: > Is there a working NFSv4.1 reference implementation available and are there any instructs on how to build/install it? I don't recall seeing any, no. (Most NFSv4.0 ACL implementations should still be perfectly compliant with the NFSv4.1 spec too as far as I know. But I don't know of any implementations of the ACL features that are new to RFC 5661. Is there any particular feature that you're interested in?) --b. ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: NFSv4.1 ACL reference implementation 2014-07-29 21:09 ` J. Bruce Fields @ 2014-07-30 17:08 ` McEvoy, James 2014-07-30 18:05 ` J. Bruce Fields 0 siblings, 1 reply; 6+ messages in thread From: McEvoy, James @ 2014-07-30 17:08 UTC (permalink / raw) To: J. Bruce Fields; +Cc: linux-nfs@vger.kernel.org We are implementing NFSv4.1 ACLs in the filesystem mostly to support SMB/CIFS but I am seeing some strange behavior with ACL group inheritance on children/grand-children using the nfs4_setfacl and nfs4_getfacl on the parent directory. The problems are mostly with inheritance on the @OWNER and @GROUP ACEs... What I am looking for is a reference that I can use to validate ACL inheritance behavior. Is there a distro that has a filesystem which supports NFSv4 ACLs? Or ideally an rpm that I could install on a CentOS6 VM. I have tried using the richacl mount option on OpenSUSE 13.1 but the nfs4_getfacl command returns: "Operation to request attribute not supported." The fstab entry to mount the filesystem is: /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part3 \ /home ext4 acl,richacl,user_xattr 1 2 Do you have any recommendations as to what and how I can install a filesystem that supports nfsv4 ACLs? --jim > -----Original Message----- > From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs- > owner@vger.kernel.org] On Behalf Of J. Bruce Fields > Sent: Tuesday, July 29, 2014 2:09 PM > To: McEvoy, James > Cc: linux-nfs@vger.kernel.org > Subject: Re: NFSv4.1 ACL reference implementation > > On Tue, Jul 29, 2014 at 07:18:03PM +0000, McEvoy, James wrote: > > Is there a working NFSv4.1 reference implementation available and are there > any instructs on how to build/install it? > > I don't recall seeing any, no. > > (Most NFSv4.0 ACL implementations should still be perfectly compliant with the > NFSv4.1 spec too as far as I know. But I don't know of any implementations of > the ACL features that are new to RFC 5661. Is there any particular feature that > you're interested in?) > > --b. > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of > a message to majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFSv4.1 ACL reference implementation 2014-07-30 17:08 ` McEvoy, James @ 2014-07-30 18:05 ` J. Bruce Fields 2014-07-30 18:15 ` McEvoy, James 0 siblings, 1 reply; 6+ messages in thread From: J. Bruce Fields @ 2014-07-30 18:05 UTC (permalink / raw) To: McEvoy, James; +Cc: linux-nfs@vger.kernel.org On Wed, Jul 30, 2014 at 05:08:25PM +0000, McEvoy, James wrote: > We are implementing NFSv4.1 ACLs in the filesystem mostly to support > SMB/CIFS but I am seeing some strange behavior with ACL group > inheritance on children/grand-children using the nfs4_setfacl and > nfs4_getfacl on the parent directory. The problems are mostly with > inheritance on the @OWNER and @GROUP ACEs... The usual problem is that the umask is applied. > What I am looking for is a reference that I can use to validate ACL > inheritance behavior. Is there a distro that has a filesystem which supports > NFSv4 ACLs? Or ideally an rpm that I could install on a CentOS6 VM. > I have tried using the richacl mount option on OpenSUSE 13.1 but the > nfs4_getfacl command returns: > "Operation to request attribute not supported." > The fstab entry to mount the filesystem is: > /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part3 \ > /home ext4 acl,richacl,user_xattr 1 2 > > Do you have any recommendations as to what and how I can install > a filesystem that supports nfsv4 ACLs? No, they all just do "posix" acls and nfsd tries to translate. But the umask issue is somewhat of a separate issue. --b. > > --jim > > > -----Original Message----- > > From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs- > > owner@vger.kernel.org] On Behalf Of J. Bruce Fields > > Sent: Tuesday, July 29, 2014 2:09 PM > > To: McEvoy, James > > Cc: linux-nfs@vger.kernel.org > > Subject: Re: NFSv4.1 ACL reference implementation > > > > On Tue, Jul 29, 2014 at 07:18:03PM +0000, McEvoy, James wrote: > > > Is there a working NFSv4.1 reference implementation available and are there > > any instructs on how to build/install it? > > > > I don't recall seeing any, no. > > > > (Most NFSv4.0 ACL implementations should still be perfectly compliant with the > > NFSv4.1 spec too as far as I know. But I don't know of any implementations of > > the ACL features that are new to RFC 5661. Is there any particular feature that > > you're interested in?) > > > > --b. > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of > > a message to majordomo@vger.kernel.org More majordomo info at > > http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: NFSv4.1 ACL reference implementation 2014-07-30 18:05 ` J. Bruce Fields @ 2014-07-30 18:15 ` McEvoy, James 2014-07-30 18:21 ` J. Bruce Fields 0 siblings, 1 reply; 6+ messages in thread From: McEvoy, James @ 2014-07-30 18:15 UTC (permalink / raw) To: J. Bruce Fields Cc: linux-nfs@vger.kernel.org, Fernandez, Roselle N, Palanisamy, Nandesh > -----Original Message----- > From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs- > owner@vger.kernel.org] On Behalf Of J. Bruce Fields > Sent: Wednesday, July 30, 2014 11:06 AM > To: McEvoy, James > Cc: linux-nfs@vger.kernel.org > Subject: Re: NFSv4.1 ACL reference implementation > > On Wed, Jul 30, 2014 at 05:08:25PM +0000, McEvoy, James wrote: > > We are implementing NFSv4.1 ACLs in the filesystem mostly to support > > SMB/CIFS but I am seeing some strange behavior with ACL group > > inheritance on children/grand-children using the nfs4_setfacl and > > nfs4_getfacl on the parent directory. The problems are mostly with > > inheritance on the @OWNER and @GROUP ACEs... > > The usual problem is that the umask is applied. Where can I find the proper behavior between umask and inheritance? > > > What I am looking for is a reference that I can use to validate ACL > > inheritance behavior. Is there a distro that has a filesystem which > > supports > > NFSv4 ACLs? Or ideally an rpm that I could install on a CentOS6 VM. > > I have tried using the richacl mount option on OpenSUSE 13.1 but the > > nfs4_getfacl command returns: > > "Operation to request attribute not supported." > > The fstab entry to mount the filesystem is: > > /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part3 \ > > /home ext4 acl,richacl,user_xattr 1 2 > > > > Do you have any recommendations as to what and how I can install a > > filesystem that supports nfsv4 ACLs? > > No, they all just do "posix" acls and nfsd tries to translate. > > But the umask issue is somewhat of a separate issue. > > --b. > > > > > --jim > > > > > -----Original Message----- > > > From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs- > > > owner@vger.kernel.org] On Behalf Of J. Bruce Fields > > > Sent: Tuesday, July 29, 2014 2:09 PM > > > To: McEvoy, James > > > Cc: linux-nfs@vger.kernel.org > > > Subject: Re: NFSv4.1 ACL reference implementation > > > > > > On Tue, Jul 29, 2014 at 07:18:03PM +0000, McEvoy, James wrote: > > > > Is there a working NFSv4.1 reference implementation available and > > > > are there > > > any instructs on how to build/install it? > > > > > > I don't recall seeing any, no. > > > > > > (Most NFSv4.0 ACL implementations should still be perfectly > > > compliant with the > > > NFSv4.1 spec too as far as I know. But I don't know of any > > > implementations of the ACL features that are new to RFC 5661. Is > > > there any particular feature that you're interested in?) > > > > > > --b. > > > -- > > > To unsubscribe from this list: send the line "unsubscribe linux-nfs" > > > in the body of a message to majordomo@vger.kernel.org More majordomo > > > info at http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of > a message to majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFSv4.1 ACL reference implementation 2014-07-30 18:15 ` McEvoy, James @ 2014-07-30 18:21 ` J. Bruce Fields 0 siblings, 0 replies; 6+ messages in thread From: J. Bruce Fields @ 2014-07-30 18:21 UTC (permalink / raw) To: McEvoy, James Cc: linux-nfs@vger.kernel.org, Fernandez, Roselle N, Palanisamy, Nandesh On Wed, Jul 30, 2014 at 06:15:37PM +0000, McEvoy, James wrote: > > > > -----Original Message----- > > From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs- > > owner@vger.kernel.org] On Behalf Of J. Bruce Fields > > Sent: Wednesday, July 30, 2014 11:06 AM > > To: McEvoy, James > > Cc: linux-nfs@vger.kernel.org > > Subject: Re: NFSv4.1 ACL reference implementation > > > > On Wed, Jul 30, 2014 at 05:08:25PM +0000, McEvoy, James wrote: > > > We are implementing NFSv4.1 ACLs in the filesystem mostly to support > > > SMB/CIFS but I am seeing some strange behavior with ACL group > > > inheritance on children/grand-children using the nfs4_setfacl and > > > nfs4_getfacl on the parent directory. The problems are mostly with > > > inheritance on the @OWNER and @GROUP ACEs... > > > > The usual problem is that the umask is applied. > > Where can I find the proper behavior between umask and inheritance? For "posix" ACLs on local linux filesystems, the umask is just ignored in the case where we're creating a new file in a directory with default (inheritable) ACLs. In the v4 case that doesn't happen. I think this probably a bug that needs to be fixed, but I'm not sure how. --b. > > > What I am looking for is a reference that I can use to validate ACL > > > inheritance behavior. Is there a distro that has a filesystem which > > > supports > > > NFSv4 ACLs? Or ideally an rpm that I could install on a CentOS6 VM. > > > I have tried using the richacl mount option on OpenSUSE 13.1 but the > > > nfs4_getfacl command returns: > > > "Operation to request attribute not supported." > > > The fstab entry to mount the filesystem is: > > > /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0-part3 \ > > > /home ext4 acl,richacl,user_xattr 1 2 > > > > > > Do you have any recommendations as to what and how I can install a > > > filesystem that supports nfsv4 ACLs? > > > > No, they all just do "posix" acls and nfsd tries to translate. > > > > But the umask issue is somewhat of a separate issue. > > > > --b. > > > > > > > > --jim > > > > > > > -----Original Message----- > > > > From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs- > > > > owner@vger.kernel.org] On Behalf Of J. Bruce Fields > > > > Sent: Tuesday, July 29, 2014 2:09 PM > > > > To: McEvoy, James > > > > Cc: linux-nfs@vger.kernel.org > > > > Subject: Re: NFSv4.1 ACL reference implementation > > > > > > > > On Tue, Jul 29, 2014 at 07:18:03PM +0000, McEvoy, James wrote: > > > > > Is there a working NFSv4.1 reference implementation available and > > > > > are there > > > > any instructs on how to build/install it? > > > > > > > > I don't recall seeing any, no. > > > > > > > > (Most NFSv4.0 ACL implementations should still be perfectly > > > > compliant with the > > > > NFSv4.1 spec too as far as I know. But I don't know of any > > > > implementations of the ACL features that are new to RFC 5661. Is > > > > there any particular feature that you're interested in?) > > > > > > > > --b. > > > > -- > > > > To unsubscribe from this list: send the line "unsubscribe linux-nfs" > > > > in the body of a message to majordomo@vger.kernel.org More majordomo > > > > info at http://vger.kernel.org/majordomo-info.html > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of > > a message to majordomo@vger.kernel.org More majordomo info at > > http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-30 18:21 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-29 19:18 NFSv4.1 ACL reference implementation McEvoy, James 2014-07-29 21:09 ` J. Bruce Fields 2014-07-30 17:08 ` McEvoy, James 2014-07-30 18:05 ` J. Bruce Fields 2014-07-30 18:15 ` McEvoy, James 2014-07-30 18:21 ` J. Bruce Fields
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).