info-cvs
[Top][All Lists]
Advanced

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

Re: Check out fails


From: Larry Jones
Subject: Re: Check out fails
Date: Tue, 21 Jun 2005 16:28:05 -0400 (EDT)

Todd Denniston writes:
> 
> which would imply either the user name given was invalid (for where
> initgroups looked) or the additional group was. Does initgroups get pointed
> at CVSROOT/passwd if it exists?

No, it just gets the username and associated gid from the system passwd
file.  If the username were invalid, the passwd file lookup would have
failed, so that's not it.  If the associated gid were invalid, the user
probably wouldn't be able to log in, so that's probably not it either. 
I do note that getgroups() can fail with EINVAL if there are more groups
than will fit in the output argument.  Perhaps there's an undocumented
internal limit in initgroups() that he's running into -- how many groups
is that user in?

-Larry Jones

I hate it when they look at me that way. -- Calvin




reply via email to

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