check permissions for projects/project-x/ and not only the parent directory
2007/11/30, Andre-John Mas <[EMAIL PROTECTED]>: > 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:[EMAIL PROTECTED]:/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 > -- Denis Kot denis?jabber.org.by ICQ: 13680126 Mobil: +375 29 6-1234-78
