[Top][All Lists]

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

Re: Protect CVSROOT tree

From: Derek R. Price
Subject: Re: Protect CVSROOT tree
Date: Fri, 29 Dec 2000 10:14:21 -0500

Howard Zhou wrote:

> After I changed config file, I was able to checkout. However when I tried to
> checkin, I got the following error:
> could not open lock file /local/cvsroot/../,foo.txt,': Permission denied
>  instead of the drectory specified by LockDir option - /local/cvslock
> I see directories created in LockDir directory but I don't see any ,foo.txt
> lock created.
> Do you know why?

Please keep questions of this nature on the info-cvs list.  You are much more
likely to receive a prompt and accurate response than by writing me directly.

That said, sometimes this can happen because, by default, the first time CVS
creates any directory in LockDir it gets created with default permissions for
the current user.  If the user's default group doesn't give the next user to
come along write permissions to the dir then they won't be able to create a

The solution to this is to make sure that all users have write permissions in
LockDir.  This can be accomplished by setting the setgid bit on the original
LockDir.  If you don't know what this means, 'man chmod'.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
I am for encouraging the progress of science in all its branches, and not for
raising a hue and cry against the sacred name of philosophy; for awing the
human mind by stories of raw-head and bloody bones to a distrust of its own
vision, and to repose implicitly on that of others; to go backwards instead of
forwards to look for improvement; to believe that government, religion,
morality and every other science were in the highest perfection in the ages of
the darkest ignorance, and that nothing can ever be decided more perfect than
what was established by our forefathers.

                        - Thomas Jefferson to Elbridge Gerry, 1799

reply via email to

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