Bug 1285747 - setuid bit testcase failing with tiering volume with nfs-ganesha
Summary: setuid bit testcase failing with tiering volume with nfs-ganesha
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tier
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.1.2
Assignee: Soumya Koduri
QA Contact: Nag Pavan Chilakam
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-26 11:39 UTC by Apeksha
Modified: 2016-09-17 15:39 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 05:53:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Apeksha 2015-11-26 11:39:03 UTC
Description of problem:
setuid bit testcase failing with tireing volume with nfs-ganesha

Version-Release number of selected component (if applicable):
glusterfs-3.7.5-7.el7rhgs.x86_64
nfs-ganesha-gluster-2.2.0-11.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a tired volume
2. Mount it using nfs-ganesha vers=3
3. Create a file and change its permission to 600
4. Now edit the config file of the volume and set Root squash and run-refresh config
5. On the client - chmod u+s /bin/echo /bin/cat
6. write/read the file using /bin/echo and /bin/cat , it should fail but unexpectedly it allows.

The testcase passes for a non-tiered volume, read/write is not allowed for that file

Actual results:


Expected results:


Additional info:

Comment 3 Nag Pavan Chilakam 2015-11-30 06:53:17 UTC
the config file referred here is the ganesha config file, which is available in each volume under /etc/ganesha/exports/export.<vname>.conf

Comment 6 Apeksha 2015-12-02 05:53:46 UTC
Not able to reproduce it again, ran my scripts couple of times. The setup was actually in a wiered state, looks like it was a configuration issue.


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