[cvsnt] cvs [import aborted]

Mike sqxiem at tin.it
Thu Aug 3 14:14:59 BST 2006

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 all,
I am trying to migrate a Linux cvs standard repository to Linux cvsnt

If I use cvsnt as cvs standard then all is okay but I have some problems
when I try to use the new cvsnt security features.

I done the following:

- mkdir /cvs/cvsroot

- export CVSROOT=/cvs/cvsroot (in /etc/profile)

- groupadd cvs

- useradd cvs -g cvs

- chown -R cvs.cvs /cvs

- chmod -R ug+rws /cvs

- mv old-rep /cvs/cvsroot (old-rep contains also old config dir CVSROOT)

- mkdir /appo

- cd /appo

- mkdir test1

- cd test1

- cvs import -m "test1" test1 a1 b1

- the previous command works and creates the module/dir 'test1' in

- it creates also CVS/fileattr.xml in test1

Then I tried to use acl doing the following:

- modify /cvs/cvsroot/CVSROOT/config (SystemAuth=no, AclMode=normal)

- create /cvs/cvsroot/CVSROOT/admin adding cvs string

- cvs passwd -a -r cvs cvs

- cvs rchown cvs

- cvs rchacl -a read,write,create,tag,control -u cvs
- cd /appo

- mkdir test2

- cd test2

- cvs import -m "test2" test2 a2 b2

cvs [import aborted]: User cvs cannot create files in test2

Using 'strace cvs ..' I found following


access("/cvs/cvsroot/CVS/fileattr.xml", F_OK) = -1 ENOENT (No such file or

access("/cvs/cvsroot/CVS/fileattr", F_OK) = -1 ENOENT (No such file or

access("/cvs/cvsroot//.owner", F_OK)    = -1 ENOENT (No such file or

access("/cvs/cvsroot//.perms", F_OK)    = -1 ENOENT (No such file or


Its behaviour is quite strange: it seems to check for fileattr.xml in
directory /cvs/cvsroot/CVS but this doesn't exist.

I have done other tests creating a new repository but the result is the
same. CVS directory I found exists only in module, when created, and in
CVSROOT not in $CVSROOT. At end I copied $CVSROOT/CVSROOT/CVS directory
under $CVSROOT and it seems to work.

What is wrong?


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