On Tue, Oct 08, 2002 at 09:03:23AM -0700, dd hh wrote:
> 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?

The way CVS modifies a file in the repository is to:
  - Make a temporary copy that includes the changes.  (Since CVS
    only reads the original file, the lack of write permission
    doesn't get in its way, but it needs write permission on the
    parent directory in order to create the copy.)

  - Rename the copy back over top of the original.  (Again, the
    write permission that applies is on the parent directory, NOT
    on the file itself.)

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        [EMAIL PROTECTED]
|  |  /
The acronym for "the powers that be" differs by only one letter
from that for "the pointy-haired boss".


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to