bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bogus file permission and EPERM (was: Re: two bugs in libio environmenta


From: Marcus Brinkmann
Subject: Bogus file permission and EPERM (was: Re: two bugs in libio environmenta
Date: Tue, 23 Apr 2002 01:12:15 +0200
User-agent: Mutt/1.3.28i

On Mon, Mar 25, 2002 at 02:34:38PM -0500, Roland McGrath wrote:
> > Yeah, that seems to be the case.  I have printed out the user id and
> > group id vectors and the stat user and group fields that are looked for.
> > The latter were normal, the former were empty.
> 
> The thing to do now is look at the creation of the iouser, which is the
> server's side of the authentication transaction.  If the server is correct
> then the auth port is indeed suspect.

Ok, I definitely have to do this.  An interesting observation is that of the
~1400 packages I built, 22 have at least some bugs file ownership.

In almost all these cases, the user id was correct but the group id was
bogus.  However, in some cases the user id was also bogus.

Bogus means something like "root/1000", "root/3007", "root/96", "602/96",
"root/500" etc etc.  The first I could explain with a careless sticky bit on
a directory, but the others are plain random.

So there is definitely a big problem with the filesystems idea of the ids in
an auth handle (or with the auth handle itself).

I think it is very likely that this is the same bug as the EPERM bug.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]