info-cvs
[Top][All Lists]
Advanced

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

RE: cvs 1.11.2 and pserver on Linux


From: Zanabria, Moises
Subject: RE: cvs 1.11.2 and pserver on Linux
Date: Tue, 7 May 2002 17:19:17 -0500

yep,  I've compiled with SETXID_SUPPORT, I've modified main.c running it
setuid, I just added line to main.c near the beginning:

setuid(geteuid());

like FAQ file it recommends.

here is my cvs binary permissions:
-rwxr-sr-x    1 root     p3cvsg    1557704 May  6 15:49 /usr/bin/cvs

Regarding the questions of Aaron:
Did you login with your password? Yes I did.
 
 
I'm guessing your repository top is /src? Yes, it is.
 
have you checked your rights to CVSROOT? (ls -l?)
drwxrws---    4 root     p3cvsg       4096 May  7 16:53 CVSROOT

 
it's almost as if you have a CVS database that someone's been moving stuff
around in it . . 
well we are trying to move my current cvs repository to another more
powerful
 

here you are an example:
$export CVSROOT=myserver:/myrepository/src
$export CVS_SERVER=/usr/bin/cvs
$ cvs version 
Client: Concurrent Versions System (CVS) 1.11.2 (client/server)
Server: Concurrent Versions System (CVS) 1.11.2 (client/server)

$cvs CVSROOT
cvs server: Updating CVSROOT
U CVSROOT/checkoutlist
U CVSROOT/commitinfo
U CVSROOT/config
U CVSROOT/cvsignore
U CVSROOT/cvswrappers
U CVSROOT/disallow.sh
U CVSROOT/editinfo
........

if I do a:
$export CVSROOT=:pserver:address@hidden:/myrepository/src

$cvs login
Logging in to :pserver:address@hidden:2401/myrepository/src
CVS password: my_password
$cvs co CVSROOT
Cannot access /local/p4cvs/src/CVSROOT
File exists

Thanks for the help.
Moises. 



-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Tuesday, May 07, 2002 4:38 PM
To: address@hidden
Cc: address@hidden
Subject: Re: cvs 1.11.2 and pserver on Linux


Zanabria, Moises writes:
> 
> cvs co module
> Cannot access /local/p4cvs/src/CVSROOT
> File exists

That implies that either access(2) returned with errno set to EEXIST
(which seems highly unlikely) or you've compiled with SETXID_SUPPORT
defined and you don't have read and execute permission on that
directory.

-Larry Jones

The game's called on account of sudden death. -- Calvin



reply via email to

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