xfs
[Top] [All Lists]

Re: permission problems..

To: Andrei Pelinescu - Onciul <pelinescu-onciul@xxxxxxxxxxxx>
Subject: Re: permission problems..
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 05 Jun 2001 16:12:27 -0500
Cc: Steve Lord <lord@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: Message from Andrei Pelinescu - Onciul <pelinescu-onciul@fokus.gmd.de> of "Tue, 05 Jun 2001 21:40:41 +0200." <3B1D35B9.505CB33@fokus.gmd.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
> This is a multi-part message in MIME format.
> --------------6FB88F8DEC4A1CDE2E8CB503
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> 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


OK, thanks for the update, I can duplicate now, and I understand what is
going wrong here. I also understand why you get the nmi oops with the patch,
I have that fixed. I just checked the fix in  internally, it should show up
in cvs soon.

Steve



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