[Top][All Lists]

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

Re: Read only file

From: Greg A. Woods
Subject: Re: Read only file
Date: Tue, 8 Oct 2002 14:14:27 -0400 (EDT)

[[ Please DO NOT EVER send HTML, rich text, or otherwise stylized
e-mail, especially not to me or to any public mailing list.  Not all
mail readers will recognize such formats, and their added volume is
generally a total waste of bandwidth, storage, and processing power for
everyone.  HTML in particular is a potential security threat and many
firewalls and some mailing lists filter it entirely -- especially since
CERT and Microsoft have jointly anounced a very major flaw in the HTML
rendering engine used in all Microsoft products (in versions still
widely in use, and which isn't even properly fixed in the most recent
releases). ]]

For more information see, for instance, the following article:

Please send all your messages as plain text only.

[ On Tuesday, October 8, 2002 at 09:03:23 (-0700), dd hh wrote: ]
> Subject: Re: Read only file
> 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 ?

RCS modifies files by creating a temporary file in the same directory as
the repository file, and then copying and editing the data from the
existing file, and finally renaming it.

This means that anyone with commit rights must have write permission in
the repository directory.  Since anyone with write permission in a
directory can rename any file in that directory it is therefore
impossible to try to give only read rights to any of the files in a
directory where the user also has read/write rights.

This _is_ normal unix permissions behaviour.

                                                                Greg A. Woods

+1 416 218-0098;            <address@hidden>;           <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

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