RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1093093 - chown does not respect NFSv4 no_root_squash
Summary: chown does not respect NFSv4 no_root_squash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libnfsidmap
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On: 1043558
Blocks: 1093148 1113520
TreeView+ depends on / blocked
 
Reported: 2014-04-30 15:04 UTC by Steve Dickson
Modified: 2018-12-09 17:47 UTC (History)
4 users (show)

Fixed In Version: libnfsidmap-0.25-11.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1043558
: 1093148 (view as bug list)
Environment:
Last Closed: 2015-03-05 13:31:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 514303 0 None None None Never
Red Hat Product Errata RHBA-2015:0575 0 normal SHIPPED_LIVE libnfsidmap bug fix and enhancement update 2015-03-05 17:01:51 UTC

Comment 1 Steve Dickson 2014-04-30 18:22:10 UTC
commit 3226c06989186d9cd60ba146df4e2898fee5047b
Author: Steve Dickson <steved>
Date:   Wed Apr 30 11:14:22 2014 -0400

    libnfsidmap: id_as_chars() fails zero value ids.
    
    Root has a zero value id which is valid and
    should not be mapped to nfsnobody
    
    Signed-off-by: Steve Dickson <steved>

Upstream tag: libnfsidmap-0-26-rc4

Comment 2 Steve Dickson 2014-04-30 21:13:09 UTC
This problem does not happen with new kernels since they don't use libnfsidmap

Comment 4 Steve Dickson 2014-09-17 19:35:50 UTC

*** This bug has been marked as a duplicate of bug 1129790 ***

Comment 5 Steve Dickson 2014-09-17 19:38:56 UTC
Made a mistake... I used the wrong bz... sorry for the confustion

Comment 7 JianHong Yin 2014-11-07 11:18:44 UTC
[07:41:36 root@ ~~]# ls -l $mnt/file3
-rw-r--r--. 1 qa qa 0 Nov  6 07:41 /nfs-mount/file3
--------------------------------------------------------------------------------
[07:41:37 root@ ~~]# chown root:root $mnt/file3
--------------------------------------------------------------------------------
[07:41:39 root@ ~~]# ls -l $mnt/file3
-rw-r--r--. 1 root root 0 Nov  6 07:41 /nfs-mount/file3
               ^^^^^^^^  chown sucess

verified!

package info:
------------------------------------------------
Time & CURDIR : [2014-11-06 07:36:17 @/mnt/tests/CoreOS/nfs-utils/function/idmapping]
Case Name     : /CoreOS/nfs-utils/function/idmapping
$HOSTNAME     : rdma-qe-06.lab.bos.redhat.com
Distro Info   : RedHatEnterpriseWorkstation 7.1 : RHEL-7.1-20141029.0
NVR & host    : Linux rdma-qe-06.lab.bos.redhat.com 3.10.0-195.el7.x86_64 #1 SMP Mon Oct 27 21:31:48 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
cmdline       :
	BOOT_IMAGE=/vmlinuz-3.10.0-195.el7.x86_64 root=/dev/mapper/rhel_rdma--qe--06-root ro reboot=acpi intel_idle.max_cstate=0 intremap=no_x2apic_optout processor.max_cstate=0 console=tty0 console=ttyS1,115200 rd_NO_PLYMOUTH
Package Info  :
	libnfsidmap-0.25-11.el7.x86_64
	libsss_idmap-1.12.2-5.el7.x86_64
	libtirpc-0.2.4-0.4.el7.x86_64
	nfs-utils-1.3.0-0.4.el7.x86_64
	package nfs-utils-lib is not installed
------------------------------------------------

Comment 9 errata-xmlrpc 2015-03-05 13:31:44 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://rhn.redhat.com/errata/RHBA-2015-0575.html


Note You need to log in before you can comment on or make changes to this bug.