[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [eclipse-dev] PROBLEMS Using CVS from Eclipse
|
All right ! Thank you very much ! (to all)
After the first mail I received from Matt I started to look up for
"Cederquist Manual" in www.google.com and I found this link:
http://controls.ae.gatech.edu/labs/gtar/notes/
under the title "When something does not work look here"...
and I have to believe it !
Here's a copy of the text:
-------------------------
>Having problems with CVS and pserver ?
>Did you get something like this when you have your cvs root to be
>CVSROOT=:pserver:xxx.gatech.edu:/cvs/cvsroot ?
>The error message:
>cvs server: cannot open /root/.cvsignore: Permission denied
>cvs [server aborted]: can't chdir(/root): Permission denied
>Since the inetd entry recommended by the Cederquist manual is
>cvspserver stream tcp nowait root /usr/bin/cvs cvs
>--allow-root=/cvs/cvsroot
>For some reason when (running on Redhat 6.1) the command inherits the
>environment of root and the variable $HOME is set to /root, cvs tries to
>read $HOME/.cvsignore.
>What you really want is the system to read the environment of the user
>you are logging in as. In the C code for CVS it first checks for
>get_home_directory() and then checks for the users home only if
>get_home_directory() fails. i.e., $HOME should be unset when first
>executed so that get_home_directory() fails. So by changing your
>inetd.conf entry for CVS to be
>cvspserver stream tcp nowait root /usr/bin/env env -i /usr/local/bin/cvs
>-f --allow-root=/cvs/cvsroot pserver
>Essentially here you are not running cvs directly but calling the env
>command with the -i option and then the call to cvs. env executes
>programs. By specifying the -i entry you are saying the command to be
>executed (here it is/usr/local/bin/cvs) should not inherit an enviornment
>from anywhere.
>This may have side effects that I do not know of yet. If there are side
>effects. I'll update this.
>SKK Jan 7 2000
------------------------------------
I tried it and it worked well. Thanks again.
- Mauro
On Fri, 16 Aug 2002, Kevin McGuire wrote:
>
> Matt is correct - its likely a cvs server configuration error, nothing to
> do with Eclipse.
>
> Have a look at
>
> http://www.cvshome.org/docs/manual/cvs_21.html
>
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs [server aborted]: can't chdir(/root): Permission denied
> See F.2 Trouble making a connection to a CVS server.
>
>
>
>
> The link takes you to
> http://www.cvshome.org/docs/manual/cvs_21.html#SEC184
>
> Cheers,
> Kevin
>
>
>
>
>
> "Matt Munz"
> <mmunz@xxxxxxxxxx> To: <eclipse-dev@xxxxxxxxxxx>
> Sent by: cc:
> eclipse-dev-admin@ Subject: RE: [eclipse-dev] PROBLEMS Using CVS from Eclipse
> eclipse.org
>
>
> 16/08/2002 11:33
> AM
> Please respond to
> eclipse-dev
>
>
>
>
>
>
> Mr. Ardolino,
>
> I am not familiar with Eclipse-VCM, but I have seen this kind of error
> before. Can you perform checkout & checkin using the commandline CVS
> client? Are you familiar with the Cederquist Manual? As I recall, it has
> a
> section that deals with the very error messages you describe. I believe
> that your error may be unrelated to Eclipse.
>
> AFAIK, the CVS server has to read .cvsignore for most if not all
> transactions. Perhps your server is misconfigured?
>
> - Matt
>
> -----Original Message-----
> From: eclipse-dev-admin@xxxxxxxxxxx
> [mailto:eclipse-dev-admin@xxxxxxxxxxx]On Behalf Of Mauro Daniel Ardolino
> Sent: Friday, August 16, 2002 11:58 AM
> To: eclipse-dev@xxxxxxxxxxx
> Subject: [eclipse-dev] PROBLEMS Using CVS from Eclipse
>
>
> Hello!
> I'm having some problems using CVS from Eclipse.
> The fact is that I want to import a project into the CVS repository that is
> on a Linux Server. I configured the Repository Location using pserver as
> connection type. On the other hand I configured the cvspserver service on
> the Linux machine. I put my user/passwd correctly and finally y tried to
> import the project using the "Team > Share Project" feature.
> Well...I've got an this error message:
> Problem Occurred
> The server reported warnings while performing the "cvs import" command.
> And pressing the "<<Details" button I've got:
> cvs server: cannot open /root/.cvsignore: Permission denied.
>
> I think is logic to get this message because I do not have permission to
> put a file in /root/.
>
> Why is Eclipse o CVS trying to put or look up this file in such place?
>
> Doing the same operation as root is satisfactory at the beginning, but when
> I try to "commit" I get this other message:
> Problems encountered performing commit
> Reason:
> cvs [server aborted]: cannot commit files as root
>
> So ! I'm deadlocked ! Help me please!
> Thank you!
>
> Ing.Mauro Daniel Ardolino
> Altersoft
> Buenos Aires, Argentina.
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/eclipse-dev
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/eclipse-dev
>
>
>
>
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/eclipse-dev
>
--
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: mauro@xxxxxxxxxxxxxxxx
website: http://www.altersoft.com.ar