[cvsnt] Permission mismatch

Tuan tusergroup at gmail.com
Tue May 13 00:03:26 BST 2008


Arthur Barrett wrote:
> Tuan,
> 
>> cvs server: act_set_email_vars.cfm: permission mismatch 
>> between 1.2 and 
>> 1.2.2.1
>>
>> Should I worry about this message?  Can anybody tell me what 
>> the message 
>> is specifically referring to and what I can do to fix it if 
> 
> The 'permissions' in question are otherwise known as the 'file mode'.
> Each file has a 'mode' - on unix you set this with 'chmod' on windows
> you set it with the 'properties' dialog.  The 'permissions' are stored
> for each revision, and 'should' simply refer to whether the file on unix
> has the 'executable' bit set.  If you are using Cygwin then CVSNT
> attempts to store the Cygwin 'mode' information as well.
> 
>> it's going 
>> to cause me problems?
> 
> Since you haven't told the newsgroup what version of CVSNT or what
> operating system you are using, you haven't included a 'log' of the file
> showing revisions 1.2 and 1.2.2.1 it's very hard to tell:
> http://www.march-hare.com/cvspro/faq/faq2.asp#2z
> 
> Depending on the CVSNT version in use on client and server the
> 'permissions' can all go horribly wrong sometimes because CVSNT tried to
> be 'too clever'.  
> http://customer.march-hare.com/webtools/bugzilla/ttshow_bug.cgi?tt=1&id=
> 4732
> 
> However on the whole nobody usually notices and unless you need the file
> to have the executable bit set then I doubt you've got anything to worry
> about.
> 
> Regards,
> 
> 
> Arthur

I am currently using Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) 
Build 2382 as the server on Ubuntu 8.04 Server.  My client is running on 
a Windows XP SP2 machine using SmartCVS Foundation 6.0.7 as the client. 
  I am connecting to CVS using SSH.

How should the permissions on the files in the repository be set for 
each file?  Right now I have all my files set with only read permissions 
for owner, group, and others.  My directories has read, write, and 
execute set for owner and group.  Read and execute permissions are set 
set for others.  My repository originally came from a Windows CVSNT 
server.  The files were just copied and restored on the Ubuntu Server. I 
do not have the version of the CVSNT server that was running while the 
repository resided on the Windows machine.  The repository and its files 
are owned by user 'cvs', which is in the 'cvs' group.  I am a member of 
the 'cvs' group. I am not sure how the permissions were set, but I think 
they just defaulted to that when it was copied over.

Any additional help or guidance would be greatly appreciated.  If you 
need additional information, please let me know.  Thanks


More information about the cvsnt mailing list