[cvsnt] Restricting file access

Thorsten Lang thorsten.lang at technotrend.de
Fri Sep 19 08:55:30 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi everybody,
here's what I'm trying to do:

I'm running cvsnt 2.0.8 on a Linux machine using /var/cvsnt as $CVSROOT. I
have created a directory for lockfiles in /var/lock/cvsntlocks belonging to
the cvs group and all cvs users have write access to it. This is the line
from my config file: LockDir=/var/lock/cvsntlocks

The cvs group does not have write access to the /var/cvsnt/CVSROOT directory
since its members are not allowed to tamper with the configuration. However
I do want them to be able to edit the modules file whenever they are about
to start working on a new module.

Is this possible at all?

So far I keep getting the same error whenever I try to commit to the
repository:
"cvs [server aborted]: could not open lock file
`/var/cvsnt/CVSROOT/,modules,': Permission denied"

The odd thing about it is that the lockfiles do get created in
/var/lock/cvsntlocks despite the above error message.

I've already tried changing the individual files' permissions to group write
access, but as long as the directory itself remains read-only committing
does not work.

Any help would be greatly appreciated!

Thorsten


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook