[cvsnt] Latest updates

Richard Wirth richard at wirthware.de
Wed May 18 19:13:55 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.


Hello Tony,

Wednesday, May 18, 2005, 7:32:37 PM, you wrote:

TH> Richard Wirth wrote:
>> Hello Tony,
>> 
>> Wednesday, May 18, 2005, 6:18:17 PM, you wrote:
>> 
>> TH> cvsnt 2.5.01.1971
>> 
>> TH> Some post release fixes.
>> 
>> The permissions are broken again in another way:
>>  - Permisions before commit 777, after 755 (repository is 777)
>>  - after update with merge also 755 (repository is 777)
>>  - after update without merge (simple patch) 555 (repository is still
>>    777)

TH> That sounds more like the effect of umask...  you wouldn't normally have
TH> permissions of 777 on a file (even an executable one).  Note that the
TH> effect of the permissions bits is really only to preserve the executable
TH> bit, not the entire state.

Ok you're right my umask causes the loss of write permissions in the
first two cases.

TH> The third case is probably an edit/watch on the file forcing it read
TH> only.  Updates without merges work OK.. I do them rather a lot!

No I have no edit/watches at all on this small test repository.
Updates without merge do reset the write permissions in any case.

'cvs editors' and 'cvs watchers' return nothing.
Here is a snippet of the trace:
----------------------------------------------------------------
20:02:03: S -> Classify_File (test_exe.sh)
20:02:03: S -> RCS_getversion((null),(null),1)
20:02:03: S -> vn_rcs=1.39
20:02:03: S -> unlink_file(CVS/,,test_exe.sh)
20:02:03: S -> RCS_checkout (/home/cvs_b1/testrepo/test_exe.sh,v, 1.38, -kkv, (function))
20:02:03: S -> rcsbuf_setpos_to_delta_base()
20:02:03: S -> RCS_deltas(1.38)
20:02:03: S -> rcsbuf_setpos_to_delta_base()
20:02:03: S -> got rcs_mode = 0700 from rcs-permissions-tag
20:02:03: S -> RCS_checkout (/home/cvs_b1/testrepo/test_exe.sh,v, 1.39, -kkv, (function))
20:02:03: S -> rcsbuf_setpos_to_delta_base()
20:02:03: S -> got rcs_mode = 0755 from rcs-permissions-tag
20:02:03: S -> diff_exec(CVS/,,test_exe.sh-1,CVS/,,test_exe.sh-2,(null),(null),-n,test_exe.sh)
20:02:03: S -> fileattr_find(file[@name=F'%s']/watched)
20:02:03: S -> fileattr_read(/home/cvs_b1/testrepo)
20:02:03: S -> chmod(test_exe.sh,100777)
20:02:03: S -> RCS_getversion((null),(null),1)
20:02:03: S -> server_register(test_exe.sh, 1.39, Wed May 18 18:02:03 2005, -kkv, , , , , , , )
20:02:03: S -> Register(test_exe.sh, 1.39, Wed May 18 18:02:03 2005, -kkv,  , , , , )
P test_exe.sh
20:02:03: S -> unlink_file(CVS/,,test_exe.sh)
20:02:03: S -> unlink_file(CVS/,,test_exe.sh-1)
20:02:03: S -> unlink_file(CVS/,,test_exe.sh-2)
20:02:03: S -> server_updated(test_exe.sh,0555,Dc�dW�
----------------------------------------------------------------





And another problem, the server crashes after every commit (x86_64),
last lines from trace:

S -> run_trigger()
S -> Call preloaded 'default_trigger'

The crash only happens on x86_64-platform.

Unfortunatly I have not figured out how to produce a core whith the
2.6.11.4-20a kernel :-(


-- 
Best regards,
 Richard                            mailto:richard at wirthware.de




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