FW: [cvsnt] how enable checkout restriction

Gennady G. Marchenko gennady.marchenko at iss.ru
Fri Aug 19 07:23:41 BST 2005


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.


As I say before, I try to reproduce situation on last source code.
My situation don't change:

----------------------
g-marchenko-t:/home/cvs# ls
CVSROOT  test
g-marchenko-t:/home/cvs# cd test
g-marchenko-t:/home/cvs/test# ls
a,v  b,v  CVS
g-marchenko-t:/home/cvs/test#
----------------------

Cvs lsacl
--------------------
Directory: test
Owner: vib

user=g-marchenko
        read
        write
        create
        tag
        control(deny)

user=vib
        read
        write
        create
        tag
        control
File: a

user=g-marchenko
        read(deny)
---------------

Checkout all files from module test successfully. But update work normal
(access to file a denied)

And I found bug (may be it's because old client use): if client
winxp/2.0.58b do any operation, on server cvslockd eat all processors time
and memory (2gb), then vitual memory,and hang the machine (local console
react very very slow). 

Debug info:
g-marchenko-t:/home/admin2/cvs_acl_test# cvs -ttt checkout test
19:11:18:   -> Tracelevel set to 3.  PID is 17738
19:11:18:   -> Session ID is 454a4304a5161721
19:11:18:   -> Session time is Thu Aug 18 15:11:18 2005
19:11:18:   -> main loop with
CVSROOT=:sserver:g-marchenko at localhost:/home/cvs
19:11:18:   -> Config file name /root/.cvs/sserver
19:11:18:   -> Config file name /root/.cvs/sserver
19:11:18:   -> Config file name /root/.cvs/cvspass
19:11:19:   -> Encryption enabled
19:11:19:   -> Compression enabled
19:11:19:   -> Server codepage is ANSI_X3.4-1968
19:11:19:   -> Client codepage is KOI8-R
19:11:19:   -> Server->Client codepage translation is active
19:11:19:   -> Server version is CVSNT 2.5.02 (Servalan) Build 2061 (Release
Candidate 5)
19:11:19:   -> Client version is CVSNT 2.5.02 (Servalan) Build 2061 (Release
Candidate 5)
19:11:19:   -> Requesting server cvsignore
19:11:19:   -> wrap_add(*.a -kb, 0, 0)
19:11:19:   -> wrap_add(*.avi -kb, 0, 0)
19:11:19:   -> wrap_add(*.bin -kb, 0, 0)
19:11:19:   -> wrap_add(*.bmp -kb, 0, 0)
19:11:19:   -> wrap_add(*.bz2 -kb, 0, 0)
19:11:19:   -> wrap_add(*.class -kb, 0, 0)
19:11:19:   -> wrap_add(*.dll -kb, 0, 0)
19:11:19:   -> wrap_add(*.dvi -kb, 0, 0)
19:11:19:   -> wrap_add(*.exe -kb, 0, 0)
19:11:19:   -> wrap_add(*.gif -kb, 0, 0)
19:11:19:   -> wrap_add(*.gz -kb, 0, 0)
19:11:19:   -> wrap_add(*.hqx -kb, 0, 0)
19:11:19:   -> wrap_add(*.ico -kb, 0, 0)
19:11:19:   -> wrap_add(*.ilk -kb, 0, 0)
19:11:19:   -> wrap_add(*.lib -kb, 0, 0)
19:11:19:   -> wrap_add(*.jar -kb, 0, 0)
19:11:19:   -> wrap_add(*.jpg -kb, 0, 0)
19:11:19:   -> wrap_add(*.jpeg -kb, 0, 0)
19:11:19:   -> wrap_add(*.mpg -kb, 0, 0)
19:11:19:   -> wrap_add(*.mpeg -kb, 0, 0)
19:11:19:   -> wrap_add(*.mov -kb, 0, 0)
19:11:19:   -> wrap_add(*.mp3 -kb, 0, 0)
19:11:19:   -> wrap_add(*.ncb -kb, 0, 0)
19:11:19:   -> wrap_add(*.o -kb, 0, 0)
19:11:19:   -> wrap_add(*.ogg -kb, 0, 0)
19:11:19:   -> wrap_add(*.obj -kb, 0, 0)
19:11:19:   -> wrap_add(*.pdb -kb, 0, 0)
19:11:19:   -> wrap_add(*.pdf -kb, 0, 0)
19:11:19:   -> wrap_add(*.png -kb, 0, 0)
19:11:19:   -> wrap_add(*.ppt -kb, 0, 0)
19:11:19:   -> wrap_add(*.res -kb, 0, 0)
19:11:19:   -> wrap_add(*.rpm -kb, 0, 0)
19:11:19:   -> wrap_add(*.sit -kb, 0, 0)
19:11:19:   -> wrap_add(*.so -kb, 0, 0)
19:11:19:   -> wrap_add(*.tar -kb, 0, 0)
19:11:19:   -> wrap_add(*.tga -kb, 0, 0)
19:11:19:   -> wrap_add(*.tgz -kb, 0, 0)
19:11:19:   -> wrap_add(*.tif -kb, 0, 0)
19:11:19:   -> wrap_add(*.tiff -kb, 0, 0)
19:11:19:   -> wrap_add(*.wav -kb, 0, 0)
19:11:19:   -> wrap_add(*.wmv -kb, 0, 0)
19:11:19:   -> wrap_add(*.xls -kb, 0, 0)
19:11:19:   -> wrap_add(*.zip -kb, 0, 0)
19:11:19:   -> wrap_add(*.Z -kb, 0, 0)
19:11:19:   -> Requesting server cvswrappers
19:11:19:   -> Requesting server cvsrc (read-cvsrc2)
19:11:19:   -> Parsing global cvsrc started
19:11:19:   -> Parsing global cvsrc finished
19:11:19:   -> call_in_directory /home/cvs/test/,test/
19:11:19:   -> Create_Admin (test, test, /home/cvs/test, , , 0, 0)
19:11:19:   -> unlink_file(CVS/Tag)
19:11:19:   -> call_in_directory /home/cvs/test/,test/
19:11:19:   -> unlink_file(CVS/Entries.Static)
cvs server: Updating test
19:11:19:   -> call_in_directory /home/cvs/test/,test/
19:11:19:   -> unlink_file(CVS/Tag)
19:11:19:   -> call_in_directory /home/cvs/test/a,test/
U test/a
19:11:19:   -> rename(_new_a,a)
19:11:19:   -> change_mode (a,u=rw,g=rw,o=rw,1)
19:11:19:   -> Register(a, 1.1, Thu Aug 18 14:47:25 2005, kv,  , , , , )
19:11:19:   -> call_in_directory /home/cvs/test/b,test/
U test/b
19:11:19:   -> rename(_new_b,b)
19:11:19:   -> change_mode (b,u=rw,g=rw,o=rw,1)
19:11:19:   -> Register(b, 1.1, Thu Aug 18 14:47:44 2005, kv,  , , , , )
19:11:19:   -> copy(CVS/Entries,CVS/Entries.Old)
19:11:19:   -> unlink_file(CVS/Entries.Old)
19:11:19:   -> rename(CVS/Entries.Backup,CVS/Entries)
19:11:19:   -> copy(CVS/Entries.Extra,CVS/Entries.Extra.Old)
19:11:19:   -> unlink_file(CVS/Entries.Extra.Old)
19:11:19:   -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
19:11:19:   -> unlink_file(CVS/Entries.Log)
19:11:19:   -> unlink_file(CVS/Entries.Extra.Log)


-----Original Message-----
From: Gennady G. Marchenko [mailto:gennady.marchenko at iss.ru] 
Sent: Thursday, August 18, 2005 5:04 PM
To: 'Arthur Barrett'
Cc: 'cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook'
Subject: RE: [cvsnt] how enable checkout restriction

In first message (see below) I write version and platform:

1) Cvs client and server: linux/2.5.01 (Travis) Build 1976

CVSROOT/config (in repository):
AclMode=normal


<skipped>

-----Original Message-----
From: Arthur Barrett [mailto:arthur.barrett at march-hare.com] 
Sent: Thursday, August 18, 2005 4:13 PM
To: Gennady G. Marchenko
Subject: RE: [cvsnt] how enable checkout restriction

Gennady,

Please provide more information.  Eg. What CVSNT server and client
versions are you using ?  What platform?  What is the result of "cvs
lsacl" on the module/directory/file?  If the results of "cvs lsacl" are
not correct what is the contents of fileattr.xml on the server?  If the
results of "cvs lsacl" are correct then what is the result of a trace
during the checkout (cvs -ttt co test)?  Can you reproduce the problem
using the latest testing versions (2.5.02.2061) by creating the test set
from scratch (including creating a new repository with 2.5.02.2061)?  

Regards,


Arthur




-----Original Message-----
From: Gennady G. Marchenko [mailto:gennady.marchenko at iss.ru] 
Sent: 18 August 2005 13:19
To: Arthur Barrett
Cc: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: RE: [cvsnt] how enable checkout restriction

<skipped>





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