Well, hmm... the question is, then, should the mode of a file be part of
the information the cvs is responsible for "controlling".

As it is right now, the mode the file is in when it is first added is what
it will always have unless you go change the mode in the actual
repository.

it would be nice if there was a cvs chmod command that would change the
mode of a file within the conciousness of cvs, and if such mode changes
were recorded and could be manipulated like any other changes.

until then, i think cvs shouldn't change the mode of the file unless the
file has been updated, in which case cvs should give you what it has, with
its stored permissions.  if you want different ones, change it in the
repository.

-ofer

On Fri, 28 Apr 2000, Noel L Yap wrote:

> If I have a copy of a file and I do "cvs up", should CVS change the mode (ie
> read, write, execute bits) of the file?  IMHO, it should not since, the only way
> permissions wouldn't match that of the archive (aside from the write bits of
> course) would be if I explicitly changed them.  I should expect CVS not to
> change them back.  Any other opinions/comments?
> 
> Noel
> 
> 

Reply via email to