[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: gamegrid-add-score fails]
From: |
Oliver Scholz |
Subject: |
Re: address@hidden: gamegrid-add-score fails] |
Date: |
Wed, 26 Feb 2003 17:04:35 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 |
Colin Walters <address@hidden> writes:
> On Tue, 2003-02-25 at 08:42, Oliver Scholz wrote:
[...]
>>
>> 1. `gamegrid-add-score-with-update-game-score' should fall back on
>> `gamegrid-add-score-insecure', if the requested file does not exist
>> in $(gamedir). This is for the case that a user has installed a
>> game on her own.
>
> I think a better fix is to just put the score file in the user's home
> directory, if the file doesn't exist already.
This is what I had in mind. I suggested to use
`gamegrid-add-score-insecure' for this, because in the case in
question, the helper program "update-game-score" is setuid. My patch
adds an optional DIRECTORY argument to `gamegrid-add-score-insecure',
so that it writes to "~/.emacs.d/games", when called from
`gamegrid-add-score-with-update-game-score'. Sorry for being unclear.
> I hacked up a quick patch for this, not really tested.
It fails on my Debian GNU/Linux. "update-game-score" is setuid to the
user "games" here and may not write to my home directory.
Oliver
--
Oliver Scholz 8 Ventôse an 211 de la Révolution
Taunusstr. 25 Liberté, Egalité, Fraternité!
60329 Frankfurt a. M. http://www.jungdemokratenhessen.de
Tel. (069) 97 40 99 42 http://www.jdjl.org
- Re: address@hidden: gamegrid-add-score fails], Oliver Scholz, 2003/02/25
- Re: address@hidden: gamegrid-add-score fails], Richard Stallman, 2003/02/26
- Re: address@hidden: gamegrid-add-score fails], Colin Walters, 2003/02/26
- Re: address@hidden: gamegrid-add-score fails],
Oliver Scholz <=
- Re: address@hidden: gamegrid-add-score fails], Colin Walters, 2003/02/26
- Re: address@hidden: gamegrid-add-score fails], Jesper Harder, 2003/02/26
- Re: address@hidden: gamegrid-add-score fails], oliver, 2003/02/27
- Re: address@hidden: gamegrid-add-score fails], Jesper Harder, 2003/02/27
- Re: address@hidden: gamegrid-add-score fails], Oliver Scholz, 2003/02/28