Bug 1093093
Summary: | chown does not respect NFSv4 no_root_squash | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Steve Dickson <steved> | |
Component: | libnfsidmap | Assignee: | Steve Dickson <steved> | |
Status: | CLOSED ERRATA | QA Contact: | JianHong Yin <jiyin> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.0 | CC: | eguan, fs-qe, mschuppe, rmarigny | |
Target Milestone: | rc | Keywords: | Patch, Reopened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libnfsidmap-0.25-11.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1043558 | |||
: | 1093148 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 13:31:44 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: | ||||
Bug Depends On: | 1043558 | |||
Bug Blocks: | 1093148, 1113520 |
Comment 1
Steve Dickson
2014-04-30 18:22:10 UTC
This problem does not happen with new kernels since they don't use libnfsidmap *** This bug has been marked as a duplicate of bug 1129790 *** Made a mistake... I used the wrong bz... sorry for the confustion [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 ------------------------------------------------ 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 |