Re: file lockin

Cameron Simpson <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
On 19:35 28 Apr 2003, Keith Mastin <[email protected]> wrote:
| > Is there in RH linux a method wherein several users
| > would be trying to edit the same file, but only the
| > first user gets to do so,
| > such that the rest cannot accidentally modify/delete
| > it. i.e. some file
| > locking arrangement. Is there a standard text editor
| > which does it. The
| > alternative may be a CVS type system, is it so?
| > and what is CVS?
| 
| Look up "setting the sticky bit", this might do what you want.

It doesn't. The best the stioky bit does, on directories, is prevent
deletion/rename by others. Rewrite remains, assuming they have permission.
-- 
Cameron Simpson, DoD#743        [email protected]    http://www.zip.com.au/~cs/

That's just the sort of bloody stupid name they would choose.
	- Reginald Mitchell, designer of the Spitfire
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.