info-cvs
[Top][All Lists]
Advanced

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

Re: Read only file


From: dd hh
Subject: Re: Read only file
Date: Wed, 9 Oct 2002 01:07:05 -0700 (PDT)

Thanks everybody :-) ...now things seem much more clearer and understandable.

Regards,

Anamika :-)

 Jenn Vesperman wrote:

On Wed, 2002-10-09 at 02:03, dd hh wrote:
>
> Hi everyone,
> Thanks a lot for the help :-) . But I am not able to understand why read only directory is required in CVS. Why can't we have directories which has both read and write permission and in that directories files with read only permission and some writable files too? Coz in normal unix this works perfectly fine. Could anyone explain it ?

It's an artifact of the way CVS writes the RCS files (the files in the
repository), and it's part of CVS attempting to make the writing an
atomic operation.

Rather than editing the actual RCS file, CVS copies the file to a
backup, writes the changes to that, then renames the backup to the
original file.

This means that it doesn't need write access to the RCS file, only to
the directory it's in.
This ALSO means that read/write permissions in the repository can be
modified on a directory-by-directory level, not a file-by-file level.

I hope this clarifies things for you.


Jenn V.
--
"Do you ever wonder if there's a whole section of geek culture
you miss out on by being a geek?" - Dancer.

address@hidden http://anthill.echidna.id.au/~jenn/



Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
reply via email to

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