info-cvs
[Top][All Lists]
Advanced

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

Permission denied when commiting via ssh


From: Andre-John Mas
Subject: Permission denied when commiting via ssh
Date: Fri, 30 Nov 2007 09:46:52 -0800 (PST)
User-agent: G2/1.0

Hi,

I am having a few problems commiting to my company's CVS repository
and even the guys in charge of the repository aren't sure why.

I first tried commiting to the CVS, from my PC with a project I
checked out with Eclipse, but I get given the error:

***
cvs ci -m "added reference to wiki" -l "/project-x/readme.txt"
    cvs commit: permission denied for projects/project-x/readme.txt
ok (took 0:00.265)
Error: The following warnings were reported while performing the "cvs
commit" command.
   Error: bpm: cvs commit: permission denied for projects/project-x/
readme.txt
***

I even tried with TortoiseCVS but to no avail.

If I log on to the server where the CVS repository is located and do a
local check out then everything works, and I can even check-in. But if
I try this with an ssh connection I can't commit. On the host machine
(Linux), I check out the project in a new directory as follows:

export CVS_RSH=ssh
cvs -z3 -d:ext:address@hidden:/cvs co -P projects/project-x

I then attempt to do a commit of a change to a file in the project
with:

cvs commit

I then get asked for a password and then vi fires up and I add a
comment. When I save and exit vi I get given the error:

cvs commit: permission denied for projects/project-x/readme.txt

I am a member of the group cvs and the permissions and ownership of
the parent directory in the repository are:

drwxrwsr-x    cvs      cvs

Any ideas what else I could checking?

Andre


reply via email to

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