info-cvs
[Top][All Lists]
Advanced

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

Re: error - "failed to create lock directory in repository"


From: Jim Hyslop
Subject: Re: error - "failed to create lock directory in repository"
Date: Tue, 17 Jan 2006 08:21:48 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brett <address@hidden> wrote:
First of all, do not forge a return address like this. 'noemail.com' is
a valid domain address, and you have just contributed to the spam
problem by having people send email to their mail server.

If you are concerned about spam, either set up a throw-away email
account through hotmail, gmail, etc. or use 'example.com' - it is
reserved for testing purposes and is guaranteed to be invalid.

> We have a Mac OSX machine running cvs server.
> When I try to commit a new file under test/testdir, I get the following
> message:
> 
> # Command Aborted.
> # commit -m "test" test.rtf
> # cvs server: failed to create lock directory in repository
> # `/usr/local/cvsrepository/test/testdir': No such file or directory
> # cvs server: lock failed - giving up
> # cvs [server aborted]: lock failed - giving up
> 
> there is no file "testdir" in that directory, but there is one in the
> main cvs repository directory.

There better not be a *file* named 'testdir' in those directories,
because CVS is treating it as a directory.

CVS is trying to create a directory named
/usr/local/cvsrepository/test/testdir/#cvs.lock

Obviously, in order to create that directory, the user must have write
access to /urs/local/cvsrepository/test/testdir

Your statements above seem to imply that
/urs/local/cvsrepository/test/testdir is not part of your repository. If
that's the case, then check the LockDir setting in the CVSROOT/config file.

> Doing this test works fine from a PC works, but not from another mac
> running as this user.
> 
> This user seems to have write access to the cvs repository and the
> CVSROOT directory.

"Seems to have write access"? Please be specific - does the user have
write access or not? That's critical to this problem.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDzO9sLdDyDwyJw+MRAmZcAJ9K35WEU4tZCtPXoxM8gldJ+KHoXACgia4p
B7RLYoSQYgMgtAHnJxCyjAQ=
=M5fo
-----END PGP SIGNATURE-----





reply via email to

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