emacs-devel
[Top][All Lists]
Advanced

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

Re: many packages write to `temporary-file-directory' insecurely


From: Richard Stallman
Subject: Re: many packages write to `temporary-file-directory' insecurely
Date: Mon, 11 Mar 2002 02:01:14 -0700 (MST)

    > One way to solve this problem is by having Emacs installation create
    > the desired files under /var/games/emacs, make them world-writable,
    > and make /var/games/emacs read-only.

    The problem I see with this is that we can't use `rename-file', and thus
    we lose atomicity of score file updates.  If multiple users are
    concurrently reading and writing the same file, it will eventually be
    corrupted.

You are right.

How do other game programs handle this?



reply via email to

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