Bug 137057 - file permission problem with NFS exported GFS filesystem to Solaris client
Summary: file permission problem with NFS exported GFS filesystem to Solaris client
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: gfs
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Wendy Cheng
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks: 137219
TreeView+ depends on / blocked
 
Reported: 2004-10-25 16:39 UTC by Erling Nygaard
Modified: 2010-01-12 03:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-04 15:36:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Erling Nygaard 2004-10-25 16:39:26 UTC
Description of problem:

NFS server is RHEL with GFS, exporting to Solaris NFS client.
'cp' command on client causes permission denied error, destination
file is created with 0 byte length.  This error does not occur on RHEL
clients NFS mounting the same GFS filesystem.

The problem affects all user except root.

We can:
- move / copy files on a NFS-exported ext3 filesystem if he is on a
RHEL NFS client as any non-root user
- move / copy files on a NFS-exported ext3 filesystem if he is on a
RHEL NFS client as the user "root"
- move / copy files on a NFS-exported ext3 filesystem if he is on a
Solaris NFS client as any non-root user
- move / copy files on a NFS-exported ext3 filesystem if he is on a
Solaris NFS client as any non-root user

- move / copy files on the NFS-exported GFS-filesystem if he is on a
RHEL NFS client as any non-root user
- move / copy files on the NFS-exported GFS-filesystem if he is on a
RHEL NFS client as the user "root"
- move / copy files on the NFS-exported GFS-filesystem if he is on a
Solaris NFS client as the user "root"

If the non-root user logs into the NFS server he can move /copy files.

The user CAN NOT:
- move / copy files on the NFS-exported GFS-filesystem if he is on a
Solaris NFS client as any non-root user


Something we tried: 

mounted the remote filesystem from the Solaris client with: 
mount -F nfs san1:/u1/public /gfs 

Mount took. cd to user directory with permissions: 
drwxrwsr-x   2 sconnors     3864 Sep  1 17:01 ./ 

File "junk" is permissioned for the user (sconnors) 444 

Attempted to copy a 444 (permissions) file as root and checked: 
22 hurricane # cp junk junk10 
23 hurricane # ls -la junk10 
-r--r--r--   1 root           10 Sep  1 17:01 junk10 

Attempted to copy a 444 (permissions) file as sconnors and checked: 
sconnors@hurricane{46}cp junk junk20 
cp: cannot create junk20: Permission denied 
Exit 2



Version-Release number of selected component (if applicable):
rh-gfs-en-6.0-4

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 michael conrad tadpol tilstra 2005-07-18 20:18:42 UTC
wonder if the setgid bit is confusing/complicating things.

Comment 4 Wendy Cheng 2006-03-20 17:04:34 UTC
This is a very old bugzilla that could be very much out of date. For now:

(a) If Solaris client runs NFS v2/v3, I see no problem at all during cthon06.
(b) If Solaris client is running NFS v4, NFS does have some cleaning up to do. 

If the original case is (a), I would like to close this as "being fixed". If the
original case is (b), we need to transfer this bugzilla to NFS team. After nfs
v4 clean up work is completed, we'll check to see how GFS works. 


Comment 5 Wendy Cheng 2006-05-04 15:36:52 UTC
This is a very old bug and we could no longer get the customer contact info.
Also if this is on NFS v2/v3, it works fine. Will close this as insufficient info. 


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