mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* NFSv3 / VFS and group problems
@ 2006-01-23 22:50 Philip Lawatsch
  2006-01-24 12:01 ` Philip Lawatsch
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Lawatsch @ 2006-01-23 22:50 UTC (permalink / raw)
  To: linux-kernel

Hi,

I've had the joy to debug a production system with a really crappy setup.

They have a user "fred" which belongs to ~5000 groups (say 
group1-group5000).


So far so bad. Even worse, they have a nfs backend  with lots of files 
which are owned by users belonging to these groups.

Ok, now my problem is that "fred" can open a file which is

-rw-rw----  someone group300 foo

but a read on this file will fail with EIO

Since group300 is way beyond the 16 groups nfs supports shouldn't fred 
actually get a EACCES back from the open call?

Problem happens with 2.6.13 (vanilla, not tainted) on both server and 
client.


kind regards Philip

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: NFSv3 / VFS and group problems
  2006-01-23 22:50 NFSv3 / VFS and group problems Philip Lawatsch
@ 2006-01-24 12:01 ` Philip Lawatsch
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Lawatsch @ 2006-01-24 12:01 UTC (permalink / raw)
  To: Philip Lawatsch; +Cc: linux-kernel

Philip Lawatsch wrote:
> Hi,
> 
> I've had the joy to debug a production system with a really crappy setup.
> 
> They have a user "fred" which belongs to ~5000 groups (say 
> group1-group5000).
> 
> 
> So far so bad. Even worse, they have a nfs backend  with lots of files 
> which are owned by users belonging to these groups.
> 
> Ok, now my problem is that "fred" can open a file which is
> 
> -rw-rw----  someone group300 foo
> 
> but a read on this file will fail with EIO
> 
> Since group300 is way beyond the 16 groups nfs supports shouldn't fred 
> actually get a EACCES back from the open call?
> 
> Problem happens with 2.6.13 (vanilla, not tainted) on both server and 
> client.

Just tried it between two 2.6.15.1 machines. It works as expected there. 
Seems that the client actually screwed around with the machines more 
than he was willing to admit. Sorry for the noise.

kind regards Philip

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-24 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 22:50 NFSv3 / VFS and group problems Philip Lawatsch
2006-01-24 12:01 ` Philip Lawatsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®