Bug 1493905

Summary: Need to add the method used for inheritance-only flag used by NFS server
Product: Red Hat Enterprise Linux 7 Reporter: Rinku <rkothiya>
Component: nfs4-acl-toolsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: bfields, lmiksik, rhandlin, rkothiya, steved, xzhou, yoyang
Target Milestone: rcKeywords: Reopened
Target Release: ---Flags: rkothiya: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: nfs4-acl-tools-0.3.3-17.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 19:06:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 9 Red Hat Bugzilla Rules Engine 2017-11-13 10:52:05 UTC
Product Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 11 J. Bruce Fields 2017-11-29 17:47:11 UTC
I've committed the patch with some minor changes; available from 

  git://linux-nfs.org:~bfields/exports/nfs4-acl-tools.git

I think it'll be up to Steved to make the change in RHEL.

Comment 12 Steve Dickson 2017-12-12 14:38:28 UTC
commit 54fec3a557ee8f9f1c75080a2fe1c34a3330a359
Author: Rinku Kothiya <rkothiya>
Date:   Thu Sep 21 19:43:51 2017 +0530

    Describe how the Linux server handles inheritable acls
    
    These are client-side tools.  But it's probably useful to say a little
    about how the Linux server handles inherited ACLs.
    
    (From redhat bugzilla 1493905).
    
    Signed-off-by: J. Bruce Fields <bfields>

diff --git a/man/man5/nfs4_acl.5 b/man/man5/nfs4_acl.5
index 3d5731f..a472e6e 100644
--- a/man/man5/nfs4_acl.5
+++ b/man/man5/nfs4_acl.5
@@ -264,7 +264,7 @@ added.  The former is the "effective" inherited ACE (used in the subdirectory's
 own permissions checks); the latter is the "heritable" inherited ACE (when the 
 subdirectory has directories created within it, they inherit it).  This approach 
 makes it easier to modify access rights to the subdirectory itself without 
-modifying its heritable ACEs.
+modifying its heritable ACEs. The Linux kernel server uses this approach.
 .PP
 .ns
 .SH A WARNING ABOUT DENY ACES

Comment 14 Yongcheng Yang 2018-01-10 07:57:59 UTC
Verified in nfs4-acl-tools-0.3.3-17.el7 that the mam page has been updated:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root ~]# rpm -q nfs4-acl-tools
nfs4-acl-tools-0.3.3-17.el7.x86_64
[root ~]# man nfs4_acl | col -b | grep "uses this approach"
          access rights to the subdirectory itself without modifying its heritable ACEs. The Linux kernel server uses this approach.
[root ~]#

Comment 17 errata-xmlrpc 2018-04-10 19:06:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1034