xfs
[Top] [All Lists]

Re: permission problems..

To: Steve Lord <lord@xxxxxxx>
Subject: Re: permission problems..
From: Andrei Pelinescu - Onciul <pelinescu-onciul@xxxxxxxxxxxx>
Date: Tue, 05 Jun 2001 21:40:41 +0200
Cc: linux-xfs@xxxxxxxxxxx
References: <200106051616.f55GGP305555@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Steve Lord wrote:
> 
> OK, I was incorrect yesterday in saying that the patch I sent out did not
> fix it, I managed to install the kernel under the wrong name and I was not
> testing the patch. Can someone please try this patch and report back if
> it makes a difference or not. When I realized this and tried the patch,
> I could not reproduce the problem with or without it.
> 
> The patch is archived here:
> 
> http://oss.sgi.com/projects/xfs/mail_archive/0106/msg00050.html


With the patch and 30 May xfs cvs I get an oops in nfsd (bonnie++ over
nfs mounted xfs). 

Without the patch, if I have a directory with the sticky bit set it will
clear all the permissions on it:

1. export/sticky_dir/ mounted in /mnt/test; 
  PWD=/mnt/test/sticky_dir, bonnie++  -s 2048 => persmissions on sticky
are cleared.

2. same as above, but PWD =/mnt/test/sticky_dir/subdir,  (subdir is not
sticky) => persmissions on the files in subdir are reset.

If I try only file creations tests everything seems ok (bonnie++ -s0 -n
200).
Also, if sticky_dir is not sticky it seems to work ok (after 1 day of
bonnie).


Andrei

Attachment: xfs_nfs_patch-oops.txt
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>