[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: $CVSROOT/CVSROOT file perms. - 2nd asking

From: Jim.Hyslop
Subject: RE: $CVSROOT/CVSROOT file perms. - 2nd asking
Date: Thu, 14 Oct 2004 11:31:50 -0400

address@hidden wrote:
> I have the the unix file and corresponding RCS 
> file permissions set for the folllowing file...
>    rwxrwx---  file1
>    rwxrwx---  file1,v
> When I do a cvs init, permissions get set to
>    r-xr-xr-x  file1
>    rwxrwx---  file1,v
> How can I make the unix file "follow" the RCS file
> permissions?
You generally don't want write permissions on the ,v file - CVS will manage
that for you. See for more

What permissions do you get when you actually check the files out? That's
what's important, and I've found that CVS will maintain the write and
execute flags (I haven't tried removing 'world' permissions, though).
Generally, you don't want to be modifying the files within the CVSROOT
directory itself - you should check out CVSROOT, modify the file(s) and
check back in (there are exceptions, such as val-tags).

Does this happen to all files within CVSROOT, or to specific files? If it's
specific files, which one(s) are affected?

How frequently are you running 'cvs init'? It should only be necessary to
run it once per repository. If you're running it more frequently, then as a
workaround you might want to create a script that issues 'cvs init' then
resets the permissions.


Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]