CVS 'permission denied'
CVS 'permission denied'
- Subject: CVS 'permission denied'
- From: Gonzalo Castro <email@hidden>
- Date: Fri, 21 Dec 2001 17:17:56 -0500
Hello,
I've created a remote CVS repository on a Mac running Mac OS X 10.1.1
and I've successfully checked out the files from this repository on my
local Mac also running Mac OS X 10.1.1. I open the project file in PB,
enable SCM, edit and save a source file, and try to Commit Changes..
from the SCM menu. I enter comments and dismiss the comments dialog.
Then I get a error dialog "The SCM commit operation failed because:
could not open lock file '<path>,file.m,': Permission denied. Disable
SCM for this project?"
The permissions are read/write on the repository folder, the volume that
the repository lives on and their enclosing folders. In fact the lock
file gets created ",file.m," but the complaint is it can't open it.
Weird.
I've never used CVS but I've read the relevant parts from
/Developer/Documentation/Commands/cvs and from a nearly useless CVS
Pocket Guide. These led me to think I should add a cvspserver command in
the remote Mac's /etc/inetd.conf file. I used sudo to vi the file and
added the line:
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-
root=/usr/local/cvsroot pserver
Not fun.
I still get the error. Am I close? In the right direction? Anyone have
documentation that specifically targets a Mac OS X remote CVS setup? My
goal is to have the repository serve a team of 3 to 4 cocoa developers.
Happy Holidays!